Skip to content

HWIDEA Lisans Sistemi

Genel Bakış

HWIDEA lisansları, belirli bir IP adresi veya cihaz için ürün erişimini kontrol eder. Lisans işlemleri için kolay bir API sunulmaktadır.

Lisans Doğrulama (POST)

Aşağıdaki örneklerde, bir HWIDEA lisans anahtarının doğruluğunu kontrol edebilirsiniz:

Python

python
import requests
url = "https://license-service.magnesify.com/api/hwid/validate"
headers = {"Content-Type": "application/json"}
data = {"token": "HWIDEA_LISANS_ANAHTARI"}
response = requests.post(url, headers=headers, json=data)
print(response.json())

Java

java
import okhttp3.*;
OkHttpClient client = new OkHttpClient();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\"token\":\"HWIDEA_LISANS_ANAHTARI\"}");
Request request = new Request.Builder()
    .url("https://license-service.magnesify.com/api/hwid/validate")
    .post(body)
    .addHeader("Content-Type", "application/json")
    .build();
Response response = client.newCall(request).execute();
System.out.println(response.body().string());

PHP

php
<?php
$url = "https://license-service.magnesify.com/api/hwid/validate";
$data = json_encode(["token" => "HWIDEA_LISANS_ANAHTARI"]);
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["Content-Type: application/json"]);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>

Javascript

javascript
fetch("https://license-service.magnesify.com/api/hwid/validate", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ token: "HWIDEA_LISANS_ANAHTARI" })
})
  .then(res => res.json())
  .then(console.log);

Rust

rust
use reqwest::blocking::Client;
use serde_json::json;
fn main() {
    let client = Client::new();
    let res = client.post("https://license-service.magnesify.com/api/hwid/validate")
        .json(&json!({"token": "HWIDEA_LISANS_ANAHTARI"}))
        .send().unwrap()
        .text().unwrap();
    println!("{}", res);
}

C#

csharp
using System.Net.Http;
using System.Text;
var client = new HttpClient();
var content = new StringContent("{\"token\":\"HWIDEA_LISANS_ANAHTARI\"}", Encoding.UTF8, "application/json");
var response = await client.PostAsync("https://license-service.magnesify.com/api/hwid/validate", content);
var result = await response.Content.ReadAsStringAsync();
Console.WriteLine(result);

Yanıtlar

Başarılı işlemlerde, sistem size lisans bilgilerini döner. Hatalı bir durumda ise hata mesajı ve kodu iletilir.

İpuçları

  • Erişim anahtarınızı gizli tutun.
  • Yanıtları kontrol edin ve hata durumunda tekrar deneyin.
  • Sorularınız için destek ekibine ulaşabilirsiniz.

Magnesify.com Software Services