ApplicationTrust.ToXml Method

Definition

Creates an XML encoding of the ApplicationTrust object and its current state.

public:
 virtual System::Security::SecurityElement ^ ToXml();
public System.Security.SecurityElement ToXml ();
abstract member ToXml : unit -> System.Security.SecurityElement
override this.ToXml : unit -> System.Security.SecurityElement
Public Function ToXml () As SecurityElement

Returns

An XML encoding of the security object, including any state information.

Implements

Remarks

The ToXml and FromXml methods are implemented to make ApplicationTrust objects XML-encodable for security policy use.

Applies to