Skip to content

alastairlundy/OsReleaseNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OsReleaseNet

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

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 Standard 2.0
  • .NET 8
  • .NET 9
  • .NET 10

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 focus on one or more of the following:

  • Improving or adding Linux detection code
  • Possibly adding support for other Unix or BSD-based operating systems

How to contribute

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 support

For more information, please see the THIRD_PARTY_NOTICES file.

About

Linux and FreeBSD OsRelease detection and SteamOS detection for .NET programs

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages