Overload | Description |
---|---|
AuthenticateAs(NetworkCredential) | Adds authentication information to the client, use the static Self to authenticate as the currently logged on Windows user. |
AuthenticateAs(String,NetworkCredential) | Adds authentication information to the client, use the static Self to authenticate as the currently logged on Windows user. |
AuthenticateAs(String,NetworkCredential,RpcProtectionLevel,RpcAuthentication[]) | Adds authentication information to the client, use the static Self to authenticate as the currently logged on Windows user. This overload allows you to specify the privacy level and authentication types to try. Normally these default to RPC_C_PROTECT_LEVEL_PKT_PRIVACY, and both RPC_C_AUTHN_GSS_NEGOTIATE or RPC_C_AUTHN_WINNT if that fails. If credentials is null, or is the Anonymous user, RPC_C_PROTECT_LEVEL_DEFAULT and RPC_C_AUTHN_NONE are used instead. |
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7