Click or drag to resize

PrivateKeyFile(String, String) Constructor

Initializes a new instance of the PrivateKeyFile class.

Namespace: Crestron.SimplSharp.Ssh
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public PrivateKeyFile(
	string fileName,
	string passPhrase
)

Parameters

fileName  String
Name of the file.
passPhrase  String
The pass phrase.
Exceptions
ExceptionCondition
ArgumentNullExceptionfileName is null or empty, or passPhrase is null.
Remarks
This method calls Open(String, FileMode) internally, this method does not catch exceptions from Open(String, FileMode).

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also