OZSuite.OZlibDeviceID 2023.3.5.2

There is a newer version of this package available.
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                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OZSuite.OZlibDeviceID" Version="2023.3.5.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OZSuite.OZlibDeviceID --version 2023.3.5.2                
#r "nuget: OZSuite.OZlibDeviceID, 2023.3.5.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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

MIT

Product Compatible and additional computed target framework versions.
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.