PublicUtility.SystemHelper 1.0.1

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
dotnet add package PublicUtility.SystemHelper --version 1.0.1
NuGet\Install-Package PublicUtility.SystemHelper -Version 1.0.1
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="PublicUtility.SystemHelper" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PublicUtility.SystemHelper --version 1.0.1
#r "nuget: PublicUtility.SystemHelper, 1.0.1"
#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 PublicUtility.SystemHelper as a Cake Addin
#addin nuget:?package=PublicUtility.SystemHelper&version=1.0.1

// Install PublicUtility.SystemHelper as a Cake Tool
#tool nuget:?package=PublicUtility.SystemHelper&version=1.0.1

System Helper

Helper to handle operating system tools.

Installation

To install, just run the C# compiler to generate the .dll file and once the file has been generated, just add the reference to the project or use Nuget or in nuget console, use the following command:

install-Package PublicUtility.SystemHelper

Usage

using PublicUtility.SystemHelper;

var allProccess = SystemOP.GetAllProcessByName("Chrome", false); // search for all processes that have names similar to chrome

var proccess = SystemOP.GetProcessById(12); // get a system process by its identifier

var variable = SystemOP.GetVariableByName("myPc"); // gets the value of an environment variable from the local computer.

var files = SystemOP.GrabFilesFromFolder("C://"); // Gets all files from the specified directory. (does not include folders and subfolders)

SystemOP.HideConsole(); // hide the application console
SystemOP.ShowConsole(); // retrieves the application console view.

SystemOP.HideWindow(your application handle here); // hides an application window through its handle.
SystemOP.ShowWindow(your application handle here); // retrieves an application window through its handle.

SystemOP.Exit(); // close the running program

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows 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
1.0.1 399 9/6/2022
1.0.0 373 8/30/2022

Namespace movement. Migration of enumerators and structs to PublicUtility.Nms