This documentation is archived and is not being maintained.

RSA.FromXmlString Method

Reconstructs an RSA object from an XML string.

[Visual Basic]
Overrides Public Sub FromXmlString( _
   ByVal xmlString As String _
)
[C#]
public override void FromXmlString(
 string xmlString
);
[C++]
public: void FromXmlString(
 String* xmlString
);
[JScript]
public override function FromXmlString(
   xmlString : String
);

Parameters

xmlString
The XML string to use to reconstruct the RSA object.

Exceptions

Exception Type Condition
ArgumentNullException The xmlString parameter is a null reference (Nothing in Visual Basic).
CryptographicException The format of the xmlString parameter is not valid.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

RSA Class | RSA Members | System.Security.Cryptography Namespace | Cryptographic Services

Show: