-
Notifications
You must be signed in to change notification settings - Fork 0
API Library Utility
Home / API Library / Utility
Generate the MD5 hash of the input parameter. Returns String
Method: API.Utility.GetMD5
Parameters:
Name | Type | Default | Description |
---|---|---|---|
input |
String | Input String |
Return: String
Geberate the SHA256 hash of the input parameter. Returns String
Method: API.Utility.GetSHA256
Parameters:
Name | Type | Default | Description |
---|---|---|---|
input |
String | Input String |
Return: String
Serialize to JSON ignoring looping references. Returns JSON String
Method: API.Utility.JsonSerialize_IgnoreLoopingReference
Parameters:
Name | Type | Default | Description |
---|---|---|---|
input |
dynamic | Input dynamic |
Return: JSON String
Deserialize from JSON ignoring looping references. Returns dynamic
Method: API.Utility.JsonDeserialize_IgnoreLoopingReference
Parameters:
Name | Type | Default | Description |
---|---|---|---|
input |
String | Input String |
Return: Object
Get the value from a custom config by sectionName
and key
(or key
only). Returns String
Method: API.Utility.GetCustomConfig
Parameters:
Name | Type | Default | Description |
---|---|---|---|
sectionName |
String | Configuration Section Name | |
key |
String | Configuration key |
Return: String
Decode a base64
data into a C# UTF8 string.
UTF8 in C# handles both UTF8 and UTF16.
Method: API.Utility.DecodeBase64ToUTF8
Parameters:
Name | Type | Default | Description |
---|---|---|---|
data |
String | Data String |
Return: String