Utility ClassIpswitch.Messaging.Framework
Summary description for Utility.
Inheritance Hierarchy

SystemObject
  SystemMarshalByRefObject
    IMailAPI_NETUtility

Namespace: IMailAPI_NET
Assembly: IMailAPI_NET (in IMailAPI_NET.dll) Version: 1.0.0.0
Syntax

public class Utility : MarshalByRefObject

The Utility type exposes the following members.

Constructors

  NameDescription
Public methodUtility
Initializes a new instance of the Utility class
Top
Methods

  NameDescription
Public methodStatic memberAvailableIpAddressList
Returns an ArrayList of the Ip Address strings on this system that are not assigned to a IMail domain.
Public methodStatic memberBackupRegistry
Backs up the registry settings to a file
Public methodStatic memberBase64Decode
Public methodStatic memberBase64Encode
Public methodStatic memberByteArrayToLI
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
Public methodStatic memberConvertEncodingToString
Public methodStatic memberConvertStringToEncoding
Public methodStatic memberCopyKey
Public methodStatic memberCopyRegKey
Public methodStatic memberCreateNewDirectory
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodStatic memberDecodeText
Public methodStatic memberEncodeText
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodStatic memberGetNextString
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.
Public methodStatic memberGetNTUsers
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
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberGetUserLimitStatus
Public methodStatic memberHandleJavascriptReservedChars
Public methodStatic memberhtmlEscapeChars(String)
Escape all characters that are above or equal to Unicode value 128 in the given string using HTML escape sequences.
Public methodStatic memberhtmlEscapeChars(String, Int32)
Escape all characters that are above a certain Unicode value in the given string using HTML escape sequences.
Public methodStatic memberhtmlUnescapeChars(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.
Public methodStatic memberhtmlUnescapeChars(String, Int32)
Unescape to a character any html escape sequences found in the given string that have a value above a certain Unicode value.
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodStatic memberisNumeric
Method to test whether an object's string representation (ToString) is a number (double).
Public methodStatic memberisUInt
Internationalized method to check and make sure a string can be made into a uint.
Public methodStatic memberIsUnderSystemUserLimit
Check to see if we are under the system user limit (User metering)
Public methodStatic memberIsValidDomainName
Public methodStatic memberIsValidEmailAddress
Public methodStatic memberIsValidIPAddress
Public methodStatic memberIsValidMask
Public methodStatic memberLogError(String, Exception)
LogError places messages into the Event Viewer log
Public methodStatic memberLogError(String, APIMessageType, String)
LogError places messages into the Event Viewer log
Public methodStatic memberNeedsEncoding
Public methodStatic memberQDecode
Public methodStatic memberQEncode
Public methodStatic memberRecalculateActiveUserCount
Public methodStatic memberRefineEmailAddress
Public methodStatic memberRegDecodePassword
Public methodStatic memberRegEncodePassword
Public methodStatic memberRenameSubKey
Public methodStatic memberResizeButtons
Public methodStatic memberRestoreRegistry
Restores the IMail registry settings from a file
Public methodStatic memberReverseString
Public methodStatic memberSplitName(String, String, String)
Splits a full name string into first and last name strings
Public methodStatic memberSplitName(String, String, String, String)
Splits a full name string into first, middle and last name strings
Public methodStatic memberTimestampLiteral
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodStatic memberUTCNowNoDST
Public methodStatic memberUTF8Encode
Public methodStatic memberXMLDecode
Top
See Also

Reference