This documentation is archived and is not being maintained.

PassportIdentity.CryptPutSite Method

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.

[Visual Basic]
Public Shared Function CryptPutSite( _
   ByVal strSite As String _
) As Integer
public static int CryptPutSite(
 string strSite
public: static int CryptPutSite(
 String* strSite
public static function CryptPutSite(
   strSite : String
) : int;


The site label.

Return Value

An integer result code.


For more information, see the Passport SDK documentation for IPassportCrypt.put_Site, available in the MSDN Library at .


Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

PassportIdentity Class | PassportIdentity Members | System.Web.Security Namespace