OZSuite.OZlibDeviceID
2023.3.5.2
See the version list below for details.
dotnet add package OZSuite.OZlibDeviceID --version 2023.3.5.2
NuGet\Install-Package OZSuite.OZlibDeviceID -Version 2023.3.5.2
<PackageReference Include="OZSuite.OZlibDeviceID" Version="2023.3.5.2" />
paket add OZSuite.OZlibDeviceID --version 2023.3.5.2
#r "nuget: OZSuite.OZlibDeviceID, 2023.3.5.2"
// Install OZSuite.OZlibDeviceID as a Cake Addin #addin nuget:?package=OZSuite.OZlibDeviceID&version=2023.3.5.2 // Install OZSuite.OZlibDeviceID as a Cake Tool #tool nuget:?package=OZSuite.OZlibDeviceID&version=2023.3.5.2
OZ Suite Device ID Library for Windows
An OZ Suite library to obtain a world wide unique device id.
Installation on Visual Studio
Please use "Manage NuGet Packages..." command on the right-click menu of your project.
After the manage window is displayed, search for the name and install the latest stable version to ypur project.
Usage C#
Please find a sample console application code in C# language.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using OZlibDeviceID;
namespace _TestConsoleApp_
{
internal class Program
{
static void Main(string[] args)
{
OZDevice Dvc = new OZDevice();
Console.WriteLine("DeviceID");
Console.WriteLine("--------------------------------");
Console.WriteLine(Dvc.DeviceID());
Console.WriteLine("--------------------------------");
Console.WriteLine("IPInfo");
Console.WriteLine("--------------------------------");
Console.WriteLine(Dvc.IPInfo().ToJSON());
Console.WriteLine("--------------------------------");
Console.WriteLine("OSInfo");
Console.WriteLine("--------------------------------");
Console.WriteLine(Dvc.OSInfo().ToJSON());
Console.WriteLine("--------------------------------");
Console.WriteLine("BaseBoardID");
Console.WriteLine("--------------------------------");
Console.WriteLine(Dvc.BaseBoardID());
Console.WriteLine("--------------------------------");
Console.WriteLine("BiosID");
Console.WriteLine("--------------------------------");
Console.WriteLine(Dvc.BiosID());
Console.WriteLine("--------------------------------");
Console.WriteLine("CPUID");
Console.WriteLine("--------------------------------");
Console.WriteLine(Dvc.CPUID());
Console.WriteLine("--------------------------------");
Console.WriteLine("DiskID");
Console.WriteLine("--------------------------------");
Console.WriteLine(Dvc.DiskID());
Console.WriteLine("--------------------------------");
Console.WriteLine("MACID");
Console.WriteLine("--------------------------------");
Console.WriteLine(Dvc.MACID());
Console.WriteLine("--------------------------------");
Console.WriteLine("VideoCardID");
Console.WriteLine("--------------------------------");
Console.WriteLine(Dvc.VideoCardID());
Console.WriteLine("--------------------------------");
Thread.Sleep(15000);
}
}
}
Usage VB.NET
Please find a sample console application code in VB.NET language.
Imports OZlibDeviceID
Module Module1
Sub Main()
Dim Dvc As New OZDevice
Console.WriteLine("DeviceID")
Console.WriteLine("--------------------------------")
Console.WriteLine(Dvc.DeviceID)
Console.WriteLine("--------------------------------")
Console.WriteLine("IPInfo")
Console.WriteLine("--------------------------------")
Console.WriteLine(Dvc.IPInfo.ToJSON)
Console.WriteLine("--------------------------------")
Console.WriteLine("OSInfo")
Console.WriteLine("--------------------------------")
Console.WriteLine(Dvc.OSInfo.ToJSON)
Console.WriteLine("--------------------------------")
Console.WriteLine("BaseBoardID")
Console.WriteLine("--------------------------------")
Console.WriteLine(Dvc.BaseBoardID)
Console.WriteLine("--------------------------------")
Console.WriteLine("BiosID")
Console.WriteLine("--------------------------------")
Console.WriteLine(Dvc.BiosID)
Console.WriteLine("--------------------------------")
Console.WriteLine("CPUID")
Console.WriteLine("--------------------------------")
Console.WriteLine(Dvc.CPUID)
Console.WriteLine("--------------------------------")
Console.WriteLine("DiskID")
Console.WriteLine("--------------------------------")
Console.WriteLine(Dvc.DiskID)
Console.WriteLine("--------------------------------")
Console.WriteLine("MACID")
Console.WriteLine("--------------------------------")
Console.WriteLine(Dvc.MACID)
Console.WriteLine("--------------------------------")
Console.WriteLine("VideoCardID")
Console.WriteLine("--------------------------------")
Console.WriteLine(Dvc.VideoCardID)
Console.WriteLine("--------------------------------")
Threading.Thread.Sleep(15000)
End Sub
End Module
Contributing
Please write an email for every request to : lib@oz.web.tr
License
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.NETFramework 4.7.2
- Newtonsoft.Json (>= 13.0.2)
- RestSharp (>= 108.0.3)
- System.Management (>= 7.0.0)
- System.Numerics.Vectors (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2024.8.2.1 | 85 | 8/2/2024 |
2023.4.21.1 | 242 | 4/21/2023 |
2023.3.26.1 | 228 | 3/26/2023 |
2023.3.5.2 | 238 | 3/5/2023 |
2023.3.5.1 | 239 | 3/5/2023 |
Added new functionalities:
- Operating system info method (OSInfo). Collects and displays information about the operationg system of the device.
- IP address info method (IPInfo). Gets and displays information about the IP address of the device.