| Visual Basic (Declaration) | |
|---|---|
Public Overloads Sub AuthenticateAsClient( _ ByVal targetHost As String _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As TcpBase Dim targetHost As String instance.AuthenticateAsClient(targetHost) | |
| C# | |
|---|---|
public void AuthenticateAsClient( string targetHost ) | |
| Managed Extensions for C++ | |
|---|---|
public: void AuthenticateAsClient( string* targetHost ) | |
| C++/CLI | |
|---|---|
public: void AuthenticateAsClient( String^ targetHost ) | |
Parameters
- targetHost
- The name of the remote host to be authenticated.
The targetHost must match the server certificate name. If authentication fails, an AuthenticationException will occur.
Target Platforms: Microsoft .NET Framework 2.0