Coder Social home page Coder Social logo

libc.hwid's Introduction

Hi ๐Ÿ‘‹, I'm Saeed

A software engineer with the main focus on back-end development

let skills = {
    "Languages" : [ 
        "TypeScript/JavaScript", "Java", "C#"
    ],
    "Backend Frameworks" : [
        "Nest.js", "Spring Boot", , ".NET Core"
    ],
    "Frontend Frameworks": [
        "Vue.js (Vuetify, Quassar)", "React"
    ],
    "Desktop Development": [
        "C# WPF", "Windows Forms", "Electron.js"
    ],
    "Education": {
        "Bachelor's degree in Software Engineering from University of Tehran"
    }
}

libc.hwid's People

Contributors

byte-stealer avatar keytrap-x86 avatar sfmohassel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

libc.hwid's Issues

Getting exception thrown on Arch Linux e.g: Manjaro XFCE (Virtual Machine)

Hi, on freshly installed Manjaro XFCE VM I get the following exception

Unhandled exception. System.TypeInitializationException: The type initializer for 'TEST.Program' threw an exception.
---> System.InvalidOperationException: Sequence contains no matching element
at System.Linq.ThrowHelper.ThrowNoMatchException()
at System.Linq.Enumerable.First[TSource](IEnumerable'1 source, Func'2 predicate)
at libc.hwid.HwId.Dmidecode(String query, String find)
at libc.hwid.HwId.GetInfo(Hardware hw)
at libc.hwid.HwId.Generate()

How is the code used
I have the class User with the field public static string UUID
In that class there is a constructor that has the following code

public User() { UUID = libc.hwid.HwId.Generate(); }
The exception is thrown when I create a new user object with
static User user = new User();

This works fine on windows

sudo permissions on Linux

On Linux, the Generate() function needs sudo permissions to run.
There is no async function to wait until the user entered the password for console applications.

Do cloned PCs have the same ID ?

Hello,
In the case of identical PCs with same MotherBoard and CPU, and a clone of the system image, will the generated ID be the same?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.