public static void Main()
Console.WriteLine("Hello World");
string username = "Your username";
string password = "Your password";
string svcCredentials = Convert.ToBase64String(System.Text.ASCIIEncoding.ASCII.GetBytes(username + ":" + password));
Console.WriteLine(svcCredentials);