XmlDsigBase64Transform.GetOutput Method

Definition

Returns the output of the current XmlDsigBase64Transform object.

Overloads

GetOutput()

Returns the output of the current XmlDsigBase64Transform object.

GetOutput(Type)

Returns the output of the current XmlDsigBase64Transform object of type Stream.

GetOutput()

Source:
XmlDsigBase64Transform.cs
Source:
XmlDsigBase64Transform.cs
Source:
XmlDsigBase64Transform.cs
Source:
XmlDsigBase64Transform.cs
Source:
XmlDsigBase64Transform.cs

Returns the output of the current XmlDsigBase64Transform object.

C#
public override object GetOutput ();

Returns

The output of the current XmlDsigBase64Transform object.

Examples

The following code example demonstrates the use of the GetOutput method to retrieve the output of the current XmlDsigBase64Transform object. This code example is part of a larger example provided for the XmlDsigBase64Transform class.

C#
object outputObject = xmlTransform.GetOutput();

Remarks

The type of the returned object must be Stream.

Applies to

.NET 9 (package-provided) та інші версії
Продукт Версії
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

GetOutput(Type)

Source:
XmlDsigBase64Transform.cs
Source:
XmlDsigBase64Transform.cs
Source:
XmlDsigBase64Transform.cs
Source:
XmlDsigBase64Transform.cs
Source:
XmlDsigBase64Transform.cs

Returns the output of the current XmlDsigBase64Transform object of type Stream.

C#
public override object GetOutput (Type type);

Parameters

type
Type

The type of the output to return. Stream is the only valid type for this parameter.

Returns

The output of the current XmlDsigBase64Transform object of type Stream.

Exceptions

The type parameter is not a Stream object.

Examples

The following code example demonstrates how to use the GetOutput method to retrieve the output of the current XmlDsigBase64Transform object. This code example is part of a larger example provided for the XmlDsigBase64Transform class.

C#
Type streamType = typeof(System.IO.Stream);
CryptoStream outputStream = (CryptoStream) 
    xmlTransform.GetOutput(streamType);

Remarks

The type of the returned object must be Stream.

Applies to

.NET 9 (package-provided) та інші версії
Продукт Версії
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9