Click or drag to resize

PrivateKeyFile(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
)

Parameters

fileName  String
Name of the file.
Exceptions
ExceptionCondition
ArgumentNullExceptionfileName is null or empty.
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