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 ( _
	path As String, _
	format As SshPublicKeyFormat _
)
C#
public void SavePublicKey(
	string path,
	SshPublicKeyFormat format
)

Parameters

path
Type: System..::..String
A path to a file 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