Saves the public key into the supplied stream in the specified format.

Namespace:  Rebex.Net
Assembly:  Rebex.Networking (in Rebex.Networking.dll)

Syntax

Visual Basic
Public Sub SavePublicKey ( _
	output As Stream, _
	format As SshPublicKeyFormat _
)
C#
public void SavePublicKey(
	Stream output,
	SshPublicKeyFormat format
)

Parameters

output
Type: System.IO..::..Stream
A stream to which to save the public key.
format
Type: Rebex.Net..::..SshPublicKeyFormat
Public key file format.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also