This documentation is archived and is not being maintained.
PassportIdentity.CryptPutSite Method
.NET Framework 1.1
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 [C#] public static int CryptPutSite( string strSite ); [C++] public: static int CryptPutSite( String* strSite ); [JScript] public static function CryptPutSite( strSite : String ) : int;
Parameters
- strSite
- The site label.
Return Value
An integer result code.
Remarks
For more information, see the Passport SDK documentation for IPassportCrypt.put_Site, available in the MSDN Library at http://msdn.microsoft.com/library .
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
PassportIdentity Class | PassportIdentity Members | System.Web.Security Namespace
Show: