Exemplo n.º 1
0
        public TokenManager(string serviceName, NetworkCredential credential)
            : this()
        {
            this.Credential = credential;

            ServiceSettings = HostConfigurator.SecureSettingsForService(serviceName);
        }
Exemplo n.º 2
0
 public TokenManager(string serviceName, string username, string password)
     : this()
 {
     UserName        = username;
     Password        = password;
     ServiceSettings = HostConfigurator.SecureSettingsForService(serviceName);
 }