TrustInfo.Write Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes the application trust to an XML file.
Overloads
Write(Stream) |
Writes the application trust to an XML file. |
Write(String) |
Writes the application trust to an XML file. |
Write(Stream)
- Source:
- TrustInfo.cs
Writes the application trust to an XML file.
public:
void Write(System::IO::Stream ^ output);
public void Write (System.IO.Stream output);
member this.Write : System.IO.Stream -> unit
Public Sub Write (output As Stream)
Parameters
- output
- Stream
Remarks
This method updates only the <TrustInfo> section in a file containing only the <TrustInfo> section and nothing else.
The specified stream must contain only a <TrustInfo> section and no other data.
Applies to
Write(String)
- Source:
- TrustInfo.cs
Writes the application trust to an XML file.
public:
void Write(System::String ^ path);
public void Write (string path);
member this.Write : string -> unit
Public Sub Write (path As String)
Parameters
- path
- String
The name of the output file.
Remarks
This method updates only the <TrustInfo> section in a file containing only the <TrustInfo> section and nothing else.
The specified string must contain only a <TrustInfo> section and no other data.