CryptPutSite Method

PassportIdentity.CryptPutSite Method (String)


Sets the key being used for Passport encryption and decryption by referring to the site-name label assigned to that key when the key was first installed. This class is deprecated.

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

public static int CryptPutSite(
	string strSite


Type: System.String

The site label.

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
© 2015 Microsoft