SecurityServices for .NET 2.0 Documentation

SmartcardPermission.FromXml Method 

[This is preliminary documentation and subject to change.]

Reconstructs a permission with a specified state from an XML encoding.

public override void FromXml(
   SecurityElement e
);

Parameters

SecurityElement
The XML encoding used to reconstruct the permission.

Implements

ISecurityEncodable.

Exceptions

Exception Type Condition
ArgumentNullException elem is a null reference.
ArgumentException elem does not contain valid XML for this permission.

See Also

SmartcardPermission Class | Org.Mentalis.SecurityServices.Permissions Namespace