C# Class TotallyMoney.TrustPilotLinks.Web.Logic.Generator

Datei anzeigen Open project: mediaingenuity/TrustPilotLinks

Public Methods

Method Description
CalculateHash ( string key, string email, string orderId ) : string
GetBase64 ( string email, Encoding enc ) : string
GetUniqueLink ( string domain, string orderId, string base64Email, string encodedName, string hash ) : string
GetUrlEncodedName ( string name ) : string

Method Details

CalculateHash() public static method

public static CalculateHash ( string key, string email, string orderId ) : string
key string
email string
orderId string
return string

GetBase64() public static method

public static GetBase64 ( string email, Encoding enc ) : string
email string
enc System.Text.Encoding
return string

GetUniqueLink() public static method

public static GetUniqueLink ( string domain, string orderId, string base64Email, string encodedName, string hash ) : string
domain string
orderId string
base64Email string
encodedName string
hash string
return string

GetUrlEncodedName() public static method

public static GetUrlEncodedName ( string name ) : string
name string
return string