static private GetSerializer ( ) : System.Web.Script.Serialization.JavaScriptSerializer | ||
Результат | System.Web.Script.Serialization.JavaScriptSerializer |
public LRClient() { _serializer = LRUtils.GetSerializer(); _encoder = LRUtils.GetEncoder(); _harvester = new Harvester(); SslValidationCallback = AcceptAllCertificates; }
public LRClient(string baseUri, string username, string password) { _baseUri = new Uri(baseUri); _serializer = LRUtils.GetSerializer(); _encoder = LRUtils.GetEncoder(); _harvester = new Harvester(_baseUri); Username = username; Password = password; SslValidationCallback = AcceptAllCertificates; }