UserLock API
Public Member Functions | List of all members
ClientRests Class Reference

Client restrictions (computer names, IP ranges, OUs). More...

Public Member Functions

 ClientRests (string sCpuNames, string sIpRanges, string sOus)
 Initializes a new instance of the ClientRests class from strings containing computer names, IP ranges, and OUs.
 
string ToString (char SEP, char SEP_INSIDE, bool bAddFinalSep)
 Converts the current instance to a string. The separator between items is customizable.
 
override string ToString ()
 Returns a System.String that represents this instance.
 

Detailed Description

Client restrictions (computer names, IP ranges, OUs).

Constructor & Destructor Documentation

◆ ClientRests()

ClientRests ( string sCpuNames,
string sIpRanges,
string sOus )

Initializes a new instance of the ClientRests class from strings containing computer names, IP ranges, and OUs.

Parameters
sCpuNamesThe computer names.
sIpRangesThe IP ranges.
sOusThe OUs.

Member Function Documentation

◆ ToString() [1/2]

string ToString ( char SEP,
char SEP_INSIDE,
bool bAddFinalSep )

Converts the current instance to a string. The separator between items is customizable.

Parameters
SEPThe separator between items.
SEP_INSIDEThe separator between sub items of the current item.
bAddFinalSepif set to true add the separator after the last item.
Returns
A System.String that represents this instance.

◆ ToString() [2/2]

override string ToString ( )

Returns a System.String that represents this instance.

Returns
A System.String that represents this instance.