LumiSoft Net Help
Net_Utils Class
NamespacesLumiSoft.NetNet_Utils
Common utility methods.
Declaration Syntax
C#Visual BasicVisual C++F#
public class Net_Utils
Public Class Net_Utils
public ref class Net_Utils
type Net_Utils =  class end
Members
All MembersConstructorsMethods



IconMemberDescription
Net_Utils()()()()
Initializes a new instance of the Net_Utils class

ArrayToString(array<String>[]()[][], String)
Convert array elements to string.

Base64DecodeEx(array<Byte>[]()[][], array<Char>[]()[][])
Decodes base64 data. Defined in RFC 2045 6.8. Base64 Content-Transfer-Encoding.

Base64Encode(array<Byte>[]()[][])
Encodes specified data with base64 encoding.

Base64EncodeEx(array<Byte>[]()[][], array<Char>[]()[][], Boolean)
Encodes specified data with bas64 encoding.

CompareArray(Array, Array)
Compares if specified array itmes equals.

CompareArray(Array, Array, Int32)
Compares if specified array itmes equals.

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, Boolean)
Computes md5 hash.

CreateSocket(IPEndPoint, ProtocolType)
Creates new socket for the specified end point.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
FromBase64(String)
Decodes specified base64 data.

FromBase64(array<Byte>[]()[][])
Decodes specified base64 data.

FromHex(array<Byte>[]()[][])
Converts hex byte data to normal byte data. Hex data must be in two bytes pairs, for example: 0F,FF,A3,... .

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetLocalHostName(String)
Gets local host name or argument hostName value if it's specified.

GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
IsAscii(String)
Gets if the specified string is ASCII string.

IsInteger(String)
Checks if specified string is integer(int/long).

IsIoCompletionPortsSupported()()()() Obsolete.
Gets if IO completion ports supported by OS.

IsIPAddress(String)
Gets if the specified string value is IP address.

IsMulticastAddress(IPAddress)
Gets if the specified IP address is multicast address.

IsPrivateIP(String)
Gets if specified IP address is private LAN IP address. For example 192.168.x.x is private ip.

IsPrivateIP(IPAddress)
Gets if specified IP address is private LAN IP address. For example 192.168.x.x is private ip.

IsSocketAsyncSupported()()()()
Gets if socket async methods supported by OS.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ParseIPEndPoint(String)
Parses IPEndPoint from the specified string value.

ReverseArray(Array)
Reverses the specified array elements.

StreamCopy(Stream, Stream, Int32)
Copies source stream data to target stream.

ToHex(array<Byte>[]()[][])
Converts specified data to HEX string.

ToHex(String)
Converts specified string to HEX string.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Inheritance Hierarchy
Object
Net_Utils

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119