ASCIIEncoding GetMaxByteCount Method SSH .NET Client Library Documentation
Calculates the maximum number of bytes produced by encoding the specified number of characters.

Namespace: Renci.SshNet.Common
Assembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax

public override int GetMaxByteCount(
	int charCount
)

Parameters

charCount
Type: OnlineSystem Int32
The number of characters to encode.

Return Value

The maximum number of bytes produced by encoding the specified number of characters.
Exceptions

See Also