Udostępnij za pośrednictwem


TrustInfo.Read Method

Definition

Reads the application trust from an XML file.

Overloads

Read(Stream)

Reads the application trust from an XML file.

Read(String)

Reads the application trust from an XML file.

Read(Stream)

Source:
TrustInfo.cs

Reads the application trust from an XML file.

public:
 void Read(System::IO::Stream ^ input);
public void Read (System.IO.Stream input);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public void Read (System.IO.Stream input);
member this.Read : System.IO.Stream -> unit
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.Read : System.IO.Stream -> unit
Public Sub Read (input As Stream)

Parameters

input
Stream

Specifies an input stream.

Attributes

Remarks

The data stream must contain only a <TrustInfo> section and no other data.

Applies to

Read(String)

Source:
TrustInfo.cs

Reads the application trust from an XML file.

public:
 void Read(System::String ^ path);
public void Read (string path);
member this.Read : string -> unit
Public Sub Read (path As String)

Parameters

path
String

The name of the input file.

Remarks

The specified string must contain only a <TrustInfo> section and no other data.

Applies to