1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-08-21 21:33:01 +00:00

Added code docs, added ContinueOnQueryResponse

This commit is contained in:
Jan Korf
2019-08-06 13:19:34 +02:00
parent 11016bc213
commit 780da53475
50 changed files with 2545 additions and 30 deletions
@@ -6,6 +6,9 @@ using Newtonsoft.Json.Linq;
namespace CryptoExchange.Net.Authentication
{
/// <summary>
/// Api credentials info
/// </summary>
public class ApiCredentials: IDisposable
{
/// <summary>
@@ -85,14 +88,14 @@ namespace CryptoExchange.Net.Authentication
inputStream.Seek(0, SeekOrigin.Begin);
}
protected string TryGetValue(JToken data, string key)
private string TryGetValue(JToken data, string key)
{
if (data[key] == null)
return null;
return (string) data[key];
}
protected SecureString CreateSecureString(string source)
private SecureString CreateSecureString(string source)
{
var secureString = new SecureString();
foreach (var c in source)
@@ -101,6 +104,9 @@ namespace CryptoExchange.Net.Authentication
return secureString;
}
/// <summary>
/// Dispose
/// </summary>
public void Dispose()
{
Key?.Dispose();