public RequestSendComodoSA()
        {
            var client = new XolphinApiDotNet.Client("*****@*****.**", "Sup3rSecre7P@s$w0rdForThe@p1");

            client.TestMode(true);
            var comodoSA = new XolphinApiDotNet.Requests.ComodoSA("*****@*****.**");
            var result   = client.Request.SubscribeComodoSA(960000000, comodoSA);

            Console.WriteLine(result.Message);
        }
Пример #2
0
        public RequestSendNote()
        {
            var client = new XolphinApiDotNet.Client("*****@*****.**", "Sup3rSecre7P@s$w0rdForThe@p1");

            client.TestMode(true);
            var note   = new XolphinApiDotNet.Requests.NoteSend("test note from .NET #100");
            var result = client.Request.SendNote(960000000, note);

            Console.WriteLine(result.Message);
        }
Пример #3
0
        public RequestGetNotes()
        {
            var client = new XolphinApiDotNet.Client("*****@*****.**", "Sup3rSecre7P@s$w0rdForThe@p1");

            client.TestMode(true);
            var result = client.Request.GetNotes(960000000);

            foreach (Responses.Note note in result.Notes)
            {
                Console.WriteLine(note.Message);
            }
        }
Пример #4
0
        public RequestGet()
        {
            var client = new XolphinApiDotNet.Client("*****@*****.**", "Sup3rSecre7P@s$w0rdForThe@p1");

            client.TestMode(true);
            var result = client.Request.Get(960000000);

            Console.WriteLine(result);
            Console.WriteLine(result.Validations);
            Console.WriteLine(result.DomainName);
            Console.WriteLine(result.Message);
            Console.WriteLine(result.ActionRequired);
            Console.WriteLine(result.BrandValidation);
        }