Partager via


TrustInfo.WriteManifest Method

Definition

Writes the application trust to a new template ClickOnce application manifest.

Overloads

WriteManifest(Stream)

Writes the application trust to a new template ClickOnce application manifest.

WriteManifest(String)

Writes the application trust to a ClickOnce application manifest. If the file exists, the trust section will be updated. If the file does not exist, a new template manifest with the specified trust will be created.

WriteManifest(Stream, Stream)

Updates an existing ClickOnce application manifest with the specified trust.

WriteManifest(Stream)

Source:
TrustInfo.cs

Writes the application trust to a new template ClickOnce application manifest.

public:
 void WriteManifest(System::IO::Stream ^ output);
public void WriteManifest (System.IO.Stream output);
member this.WriteManifest : System.IO.Stream -> unit
Public Sub WriteManifest (output As Stream)

Parameters

output
Stream

Specifies an output stream.

Remarks

This method updates only the <TrustInfo> section in a file containing only the top-level manifest header, the <TrustInfo> section, and nothing else.

Applies to

WriteManifest(String)

Source:
TrustInfo.cs

Writes the application trust to a ClickOnce application manifest. If the file exists, the trust section will be updated. If the file does not exist, a new template manifest with the specified trust will be created.

public:
 void WriteManifest(System::String ^ path);
public void WriteManifest (string path);
member this.WriteManifest : string -> unit
Public Sub WriteManifest (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 top-level manifest header, the <TrustInfo> section, and nothing else.

This overload of the method will update the file in place (that is, the input file is the same as the output file). If the file exists, the trust section will be updated. If the file does not exist, a new template manifest with the specified trust will be created.

Applies to

WriteManifest(Stream, Stream)

Source:
TrustInfo.cs

Updates an existing ClickOnce application manifest with the specified trust.

public:
 void WriteManifest(System::IO::Stream ^ input, System::IO::Stream ^ output);
public void WriteManifest (System.IO.Stream input, System.IO.Stream output);
member this.WriteManifest : System.IO.Stream * System.IO.Stream -> unit
Public Sub WriteManifest (input As Stream, output As Stream)

Parameters

input
Stream

Specifies an input stream.

output
Stream

Specifies an output stream.

Remarks

This method updates only the <TrustInfo> section in a file containing only the top-level manifest header, the <TrustInfo> section, and nothing else.

Applies to