Summary description for Utility.
Inheritance Hierarchy
SystemMarshalByRefObject
IMailAPI_NETUtility
Namespace: IMailAPI_NET
Assembly: IMailAPI_NET (in IMailAPI_NET.dll) Version: 1.0.0.0
Syntax
The Utility type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Utility | Initializes a new instance of the Utility class |
Methods
Name | Description | |
---|---|---|
AvailableIpAddressList |
Returns an ArrayList of the Ip Address strings on this system that are not
assigned to a IMail domain.
| |
BackupRegistry |
Backs up the registry settings to a file
| |
Base64Decode | ||
Base64Encode | ||
ByteArrayToLI |
Use this to convert a byte array to a long integer. It assumes a 4 byte array. The primary use of this function is to convert and
IP Address to a long int for mitmask operations
| |
ConvertEncodingToString | ||
ConvertStringToEncoding | ||
CopyKey | ||
CopyRegKey | ||
CreateNewDirectory | ||
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
DecodeText | ||
EncodeText | ||
Equals | (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
GetNextString |
Pulls the next string up to the \r\n from the MemoryStream provided. The out strString will NOT include the
\r\n, but the out aBytes will.
| |
GetNTUsers |
Takes users from the local SAM and adds them to a List of NTuser structures
The calling function will then need to select users to add and add them to IMail
Returns null if something goes wrong
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUserLimitStatus | ||
HandleJavascriptReservedChars | ||
htmlEscapeChars(String) |
Escape all characters that are above or equal to Unicode value 128 in the given string using HTML escape sequences.
| |
htmlEscapeChars(String, Int32) |
Escape all characters that are above a certain Unicode value in the given string using HTML escape sequences.
| |
htmlUnescapeChars(String) |
Unescape to a character any html escape sequences found in the given string that have a value above or equal to Unicode value 128.
| |
htmlUnescapeChars(String, Int32) |
Unescape to a character any html escape sequences found in the given string that have a value above a certain Unicode value.
| |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
isNumeric |
Method to test whether an object's string representation (ToString) is a number (double).
| |
isUInt |
Internationalized method to check and make sure a string can be made into a uint.
| |
IsUnderSystemUserLimit |
Check to see if we are under the system user limit (User metering)
| |
IsValidDomainName | ||
IsValidEmailAddress | ||
IsValidIPAddress | ||
IsValidMask | ||
LogError(String, Exception) |
LogError places messages into the Event Viewer log
| |
LogError(String, APIMessageType, String) |
LogError places messages into the Event Viewer log
| |
NeedsEncoding | ||
QDecode | ||
QEncode | ||
RecalculateActiveUserCount | ||
RefineEmailAddress | ||
RegDecodePassword | ||
RegEncodePassword | ||
RenameSubKey | ||
ResizeButtons | ||
RestoreRegistry |
Restores the IMail registry settings from a file
| |
ReverseString | ||
SplitName(String, String, String) |
Splits a full name string into first and last name strings
| |
SplitName(String, String, String, String) |
Splits a full name string into first, middle and last name strings
| |
TimestampLiteral | ||
ToString | (Inherited from Object.) | |
UTCNowNoDST | ||
UTF8Encode | ||
XMLDecode |
See Also