Skip to content

alastairlundy/OsReleaseNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OsReleaseNet (formerly PlatformKit.Linux, a part of PlatformKit)

Linux OsRelease detection, SteamOS detection, and helpful detection code for Linux.

OsReleaseNet NuGet NuGet

Table of Contents

Features

  • Support for detecting Linux OsRelease information
  • Support for detecting SteamOS and SteamDeck information

How to install and use OsReleaseNet

OsReleaseNet can be installed via the .NET SDK CLI, Nuget via your IDE or code editor's package interface, or via the Nuget website.

Package Name Nuget Link .NET SDK CLI command
AlastairLundy.OsReleaseNet AlastairLundy.OsReleaseNet Nuget dotnet add package AlastairLundy.OsReleaseNet

Compatibility

OsReleaseNet supports:

  • .NET 8
  • .NET 9
  • .NET Standard 2.0
  • .NET Standard 2.1

How to build the code

To build the project in Debug mode run the following command: dotnet build -c Debug.

To build the project in Release mode run the following command: dotnet build -C Release

Roadmap

OsReleaseNet aims to make working with different types in the System namespace in C# easier.

All stable releases must be stable and should not contain regressions.

Future updates should aim focus on one or more of the following:

  • Improving or adding Linux detection code
  • Possibly adding support for FreeBSD and/or other BSD operating systems

How to contribute to the project

If you'd like to contribute to the code, please fork the project, make your changes, and then open a Pull Request.

Credits/ Acknowledgements

Projects

This project would like to thank the following projects for their work:

  • Polyfill for simplifying .NET Standard 2.0 & 2.1 support

For more information, please see the THIRD_PARTY_NOTICES file.

About

Linux OsRelease detection and SteamOS detection for .NET programs

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Languages