public static void RemoteActivationViaHttpRequest()
        {
            string strDeviceId;

            CApplicationAPI.GetUniqueDeviceId(out _mySError, out strDeviceId, 0);
            O("GetUniqueDeviceId returns: " + strDeviceId);


            //string productId = "2324";
            //string sdPassword = "******";

            HttpWebRequest request  = (HttpWebRequest)WebRequest.Create("http://www.sygic.com/partners/activate.php");
            string         postData = "type=2&SD_password=6E193DBF&product_ID=2324&device_code=" + strDeviceId + "&description=Skuska";

            byte[] data = Encoding.ASCII.GetBytes(postData.ToCharArray());

            request.Method        = "POST";
            request.ContentType   = "application/x-www-form-urlencoded";
            request.ContentLength = data.Length;

            using (Stream stream = request.GetRequestStream())
            {
                stream.Write(data, 0, data.Length);
            }

            HttpWebResponse response = (HttpWebResponse)request.GetResponse();

            string responseString = new StreamReader(response.GetResponseStream()).ReadToEnd();

            O(responseString);
        }
        public static void GetUniqueDeviceId()
        {
            string strDeviceId;

            CApplicationAPI.GetUniqueDeviceId(out _mySError, out strDeviceId, 0);
            O("GetUniqueDeviceId returns: " + strDeviceId);
        }
        public static void AutomaticRemoteActivation(string inActivateExePath, string inMlmPath, string inSdPassword)
        {
            string strDeviceID = "";
            int    ret         = CApplicationAPI.GetUniqueDeviceId(out _mySError, out strDeviceID, 0);

            ProcessStartInfo process = new ProcessStartInfo();

            process.FileName  = inActivateExePath;
            process.Arguments = "\"" + inMlmPath + "\" " + inSdPassword;
            Process.Start(process);
        }