Provides net core utility methods.
| C# | Visual Basic | Managed C++ |
public class Core
Public Class Core
public ref class Core
| All Members | Constructors | Methods | Properties | Fields | Events |
| Icon | Member | Description |
|---|---|---|
| CoreNew() | Initializes a new instance of the Core class. | |
| Base64Decode(Byte[]()) |
Decodes base64 data. Defined in RFC 2045 6.8. Base64 Content-Transfer-Encoding.
| |
| Base64DecodeEx(Byte[](), Char[]()) |
Decodes base64 data. Defined in RFC 2045 6.8. Base64 Content-Transfer-Encoding.
| |
| Base64Encode(Byte[]()) |
Encodes specified data with base64 encoding.
| |
| Base64EncodeEx(Byte[](), Char[](), Boolean) |
Encodes specified data with bas64 encoding.
| |
| CanonicalDecode(String) |
Canonical decoding. Decodes all canonical encoding occurences in specified text.
Usually mime message header unicode/8bit values are encoded as Canonical.
Format: =?charSet?type[Q or B]?encoded_string?= .
Defined in RFC 2047.
| |
| CanonicalEncode(String, String) |
Canonical encoding.
| |
| CompareIP(IPAddress, IPAddress) |
Compares 2 IP addresses. Returns 0 if IPs are equal,
returns positive value if destination IP is bigger than source IP,
returns negative value if destination IP is smaller than source IP.
| |
| ComputeMd5(String) |
Computes md5 hash. Value is 32 char hex string.
| |
| Decode_IMAP_UTF7_String(String) |
Decodes IMAP modified UTF7 encoded data. Defined in RFC 3501 5.1.3. Mailbox International Naming Convention.
Example: &APYA9g- is decoded to öö.
| |
| Encode_IMAP_UTF7_String(String) |
Encodes specified data with IMAP modified UTF7 encoding. Defined in RFC 3501 5.1.3. Mailbox International Naming Convention.
Example: öö is encoded to &APYA9g-.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| FromHex(Byte[]()) |
Converts hex byte data to normal byte data. Hex data must be in two bytes pairs, for example: 0F,FF,A3,... .
| |
| GetArgsText(String, String) |
Gets argument part of command text.
| |
| GetFileNameFromPath(String) |
Gets file name from path.
| |
| GetHashCode() | Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetHostName(IPAddress) |
Gets host name. If fails returns 'UnkownHost'.
| |
| GetType() | Gets the Type of the current instance. (Inherited from Object.) | |
| IsAscii(String) |
Checks if specified string data is acii data.
| |
| IsNumber(String) |
Checks if specified string is number(long).
| |
| IsPrivateIP(String) |
Gets if specified IP address is private LAN IP address. For example 192.168.x.x is private ip.
| |
| MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| QDecode(Encoding, String) |
"Q" decoder. This is same as quoted-printable, except '_' is converted to ' '.
Defined in RFC 2047 4.2.
| |
| QuotedPrintableDecode(Byte[]()) |
quoted-printable decoder. Defined in RFC 2045 6.7.
| |
| QuotedPrintableEncode(Byte[]()) |
Encodes data with quoted-printable encoding.
| |
| ScanInvalid_CR_or_LF(Stream) |
Scans invalid CR or LF combination in stream. Returns true if contains invalid CR or LF combination.
| |
| ToHex(Byte) |
Convert byte to hex data.
| |
| ToHex(Byte[]()) |
Converts data to hex data.
| |
| ToHexString(String) |
Converts string to hex string.
| |
| ToString() | (Inherited from Object.) |
| Object | |
| Core | |
Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)