{"id":23425343,"url":"https://github.com/programmerlp/plp-systeminfo","last_synced_at":"2026-01-18T02:56:40.859Z","repository":{"id":173154932,"uuid":"611610406","full_name":"ProgrammerLP/PLP-SystemInfo","owner":"ProgrammerLP","description":"A C# Library for getting several SystemInfos","archived":false,"fork":false,"pushed_at":"2024-06-03T14:48:36.000Z","size":55,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T09:48:00.649Z","etag":null,"topics":["bios","cpu","csharp","drives","library","nuget","nuget-package","package","pc","pc-components","pc-info","pc-informations","pc-parts","ram","ram-monitoring","system","system-information"],"latest_commit_sha":null,"homepage":"https://www.nuget.org/packages/PLP-SystemInfo/#readme-body-tab","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ProgrammerLP.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-09T07:14:23.000Z","updated_at":"2024-06-03T14:48:40.000Z","dependencies_parsed_at":"2024-06-03T16:59:35.414Z","dependency_job_id":"f4900450-15ee-474b-9bb2-a45694e6d906","html_url":"https://github.com/ProgrammerLP/PLP-SystemInfo","commit_stats":null,"previous_names":["programmerlp/plp-systeminfo"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammerLP%2FPLP-SystemInfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammerLP%2FPLP-SystemInfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammerLP%2FPLP-SystemInfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammerLP%2FPLP-SystemInfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ProgrammerLP","download_url":"https://codeload.github.com/ProgrammerLP/PLP-SystemInfo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248034229,"owners_count":21036950,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bios","cpu","csharp","drives","library","nuget","nuget-package","package","pc","pc-components","pc-info","pc-informations","pc-parts","ram","ram-monitoring","system","system-information"],"created_at":"2024-12-23T05:11:31.147Z","updated_at":"2026-01-18T02:56:40.802Z","avatar_url":"https://github.com/ProgrammerLP.png","language":"C#","readme":"# PLP-SystemInfo\n\n\u003cimg alt=\"NuGet Downloads\" src=\"https://img.shields.io/nuget/dt/PLP-SystemInfo\"\u003e\nA C# Library for getting several SystemInfos!\n\n\nPLP-SystemInfo is compatible with the following frameworks:\n- .NET 5 or higher\n- .Net Core 2 - 3.1\n- .Net Standard 2.0 \u0026 2.1\n- .Net Framework 4.6.1 or higher\n\nDependencies:\n- System.Management\n- System.Win32\n\n# Download\nPLP-SystemInfo is available as a [NuGet Package](https://www.nuget.org/packages/PLP-SystemInfo)\n\n# Documentation\nThe package contains in the namespace ``PLP_SystemInfo`` one class for reading system information, ``SystemInfo.cs`` and 3 more namespaces: ``Collections``, ``ComponentInfo`` and ``Models``,\nThe namespaces ``Collections`` and ``Models`` are largely ignored for use. They only provide the corresponding classes for the outputs.\n\n## PLP_SystemInfo.SystemInfo\nThe class ``SystemInfo`` contains mainly methods to read general system values.\nEach method has a return value which simplifies the usage.\n\n```cs\nusing PLP_SystemInfo;\n\nstring userName = SystemInfo.UserName;\n//Retruns the username of the current user\n\nstring machineName = SystemInfo.MachineName;\n//Retruns the name of the machine.\n\nbool b = SystemInfo.IsDarkModeEnabled;\n// Returns a bool value that reflects whether the Windows darkmode is enabled\n\nstring s = SystemInfo.GetWindowsAccentColor();\n// Returns the Windows accent color as HEX value.\n\nColor c = SystemInfo.GetAccentColor();\n// Returns the Windows accent color as a Color value.\n```\n\n## PLP_SystemInfo.ComponentInfo.*\nThe namespace ``PLP_SystemInfo.ComponentInfo`` contains different classes to read out the most important PC components.\n\n### BoardInfo.cs\n```cs\nusing PLP_SystemInfo.ComponentInfo;\nusing PLP_SystemInfo.Models;\n\nBoard b = BoardInfo.GetMotherboard();\n// Returns an object of type **Board** with manufacturer and model.\n\nBIOS bios = BoardInfo.GetBIOSInfo();\n// Returns an object of type **BIOS** with manufacturer and version.\n```\n\n\n### OSInfo.cs\n```cs\nusing PLP_SystemInfo.ComponentInfo;\n\nstring os = OSInfo.GetOperatingSystemInfo();\n// Returns a string with OS name and architecture.\n```\n\n### ProcessorInfo.cs\n```cs\nusing PLP_SystemInfo.ComponentInfo;\nusing PLP_SystemInfo.Collections;\n\nProcessorCollection processors = ProcessorInfo.GetProcessors();\n// Returns a collection of type **Processor** containing information such as name, architecture, cores, threads, cache and clock speed.\n```\n\n### RamInfo.cs\n```cs\nusing PLP_SystemInfo.ComponentInfo;\nusing PLP_SystemInfo.Collections;\n\nRamCollection ram = RamInfo.GetRamInfo();\n// Returns a collection of type **RAM** containing information for each installed ram module such as manufacturer, frequency, voltage and capacity.\n\nlong totalRam = RamInfo.GetInstalledRAMSize();\n// Returns a long value of the installed GB of RAM.\n\ndouble d1 = RamInfo.GetTotalUsableRam();\n// Returns the total useable ram in GB.\n\ndouble d2 = RamInfo.GetHardwareReservedRam();\n// Returns the harware reserved ram in MB.\n\ndouble d3 = RamInfo.GetRamInUse();\n// Returns the used ram in GB.\n\ndouble  d4 = RamInfo.GetAvailableRam();\n// Returns the available ram.\n```\n\n### GraphicsInfo.cs\n```cs\nusing PLP_SystemInfo.ComponentInfo;\nusing PLP_SystemInfo.Collections;\n\nGraphicsCollection graphics = GraphicsInfo.GetGraphicscardInfo();\n// Returns a collection of type **GraphicsCard** containing information such as name and driver version.\n```\n\nTo get the information from the collections, simply use a foreach loop, e.g:\n```cs\nforeach (var item in \u003cyourCollection\u003e)\n{\n  Console.WriteLine(item.\u003cProperty\u003e);\n}\n```\n\n# License\nThis software is released under the [Apache 2.0 license](https://github.com/ProgrammerLP/PLP-SystemInfo/blob/master/LICENSE.txt)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogrammerlp%2Fplp-systeminfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprogrammerlp%2Fplp-systeminfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogrammerlp%2Fplp-systeminfo/lists"}