This documentation is archived and is not being maintained.
PassportIdentity.CryptPutHost Method
.NET Framework 1.1
Sets the key being used for Passport encryption and decryption.
[Visual Basic] Public Shared Function CryptPutHost( _ ByVal strHost As String _ ) As Integer [C#] public static int CryptPutHost( string strHost ); [C++] public: static int CryptPutHost( String* strHost ); [JScript] public static function CryptPutHost( strHost : String ) : int;
Parameters
- strHost
- The host name or IP address.
Return Value
An integer result code.
Remarks
For more information, see the Passport SDK documentation for IPassportCrypt.put_Host, 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: