C# Class NeoSmart.Web.Utils

Mostra file Open project: neosmart/web

Public Methods

Method Description
ByteToHex ( byte bytes ) : string
EncodeStringDictionary ( string>.IDictionary dictionary ) : string
GetClientIpAddress ( System.Web.HttpRequestBase request, string &remote ) : bool

Private Methods

Method Description
IsPrivateIpAddress ( string ipAddress ) : bool

Method Details

ByteToHex() public static method

public static ByteToHex ( byte bytes ) : string
bytes byte
return string

EncodeStringDictionary() public static method

public static EncodeStringDictionary ( string>.IDictionary dictionary ) : string
dictionary string>.IDictionary
return string

GetClientIpAddress() public static method

public static GetClientIpAddress ( System.Web.HttpRequestBase request, string &remote ) : bool
request System.Web.HttpRequestBase
remote string
return bool