Table of Contents

Method ProtocolExists

Namespace
Skyline.DataMiner.Core.DataMinerSystem.Common
Assembly
Skyline.DataMiner.Core.DataMinerSystem.Common.dll

ProtocolExists(string, string)

Determines whether the specified version of the specified protocol exists.

bool ProtocolExists(string protocolName, string protocolVersion)

Parameters

protocolName string

The protocol name.

protocolVersion string

The protocol version.

Returns

bool

true if the protocol is valid; otherwise, false.

Exceptions

ArgumentNullException

protocolName is null.

ArgumentNullException

protocolVersion is null.

ArgumentException

protocolName is the empty string ("") or white space.

ArgumentException

protocolVersion is the empty string ("") or white space.