Uses windows integrated security to authentication. This uses NTLM in non-domain environments and Kerberos in domain environments.
Inheritance: GSF.Diagnostics.DisposableLoggingClassBase
 void Client1(object state)
 {
     Stream client = (Stream)state;
     var sa = new IntegratedSecurityClient();
     m_sw.Start();
     var success = sa.TryAuthenticateAsClient(client);
     m_sw.Stop();
     System.Console.WriteLine(m_sw.Elapsed.TotalMilliseconds);
     m_sw.Restart();
     success = sa.TryAuthenticateAsClient(client);
     m_sw.Stop();
     System.Console.WriteLine(m_sw.Elapsed.TotalMilliseconds);
     if (!success)
         throw new Exception();
 }
 /// <summary>
 /// Creates a new <see cref="SecureStreamClientIntegratedSecurity"/>
 /// </summary>
 public SecureStreamClientIntegratedSecurity(string username, string password, string domain)
 {
     m_client = new IntegratedSecurityClient(username, password, domain);
 }
 /// <summary>
 /// Creates a new <see cref="SecureStreamClientIntegratedSecurity"/>
 /// </summary>
 public SecureStreamClientIntegratedSecurity()
 {
     m_client = new IntegratedSecurityClient();
 }