PassportIdentity.CryptPutHost Method (String)


Sets the key being used for Passport encryption and decryption. This class is deprecated.

Namespace:   System.Web.Security
Assembly:  System.Web (in System.Web.dll)

public static int CryptPutHost(
	string strHost


Type: System.String

The host name or IP address.

Return Value

Type: System.Int32

An integer result code.

This class has been deprecated and is no longer supported. Microsoft Passport Network has been replaced by Windows Live ID. For more information about how to use Windows Live ID to authenticate users in a Web application, see Windows Live ID SDK.

.NET Framework
Available since 1.1
Return to top