OnePlatforms.AWU
1.0.3
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Standard 2.0
This package targets .NET Standard 2.0. The package is compatible with this framework or higher.
dotnet add package OnePlatforms.AWU --version 1.0.3
NuGet\Install-Package OnePlatforms.AWU -Version 1.0.3
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="OnePlatforms.AWU" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OnePlatforms.AWU --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: OnePlatforms.AWU, 1.0.3"
#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 OnePlatforms.AWU as a Cake Addin #addin nuget:?package=OnePlatforms.AWU&version=1.0.3 // Install OnePlatforms.AWU as a Cake Tool #tool nuget:?package=OnePlatforms.AWU&version=1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
AWU (Advanced Windows Utility)
One Platforms Advanced Windows Utility, makes it easier to use Win32 API and WMI resources.
Guide
Setup
To download the package
- Package Manager
Install-Package OnePlatforms.AWU -Version 1.0.2
- .NET CLI
dotnet add package OnePlatforms.AWU --version 1.0.2
- Package Reference
<PackageReference Include="OnePlatforms.AWU" Version="1.0.2" />
Accessing Functions
To access Win32 Methods, you need to import the package you downloaded.
using AdvancedWindowsUtility;
Uses of Functions and Their Results
Synchronous Functions
- Synchronous functions that handle operating system information.
using AdvancedWindowsUtility;
/*
Function Name: GetAvailableMemorySpace
Parameter Status: string (type) [Packet Type] [Types: Bytes, KBytes, MBytes, GBytes]
Return Value: System.String
Function Description: Returns the amount of memory available from the package type you specify.
Thread Type: Synchronous [Sync]
*/
Windows.GetAvailableMemorySpace("MBytes"); // Example Result: 62424796
/*
Function Name: IsRunningProcess
Parameter Status: string (procParam) [Process Name]
Return Value: System.String
Function Description: Returns whether the specified application is running.
Thread Type: Synchronous [Sync]
*/
Windows.IsRunningProcess("devenv.exe"); // Example Result: true
/*
Function Name: GetRegisteredMail
Parameter Status: Without parameters
Return Value: System.String
Function Description: Returns the Microsoft mail address registered to the operating system.
Thread Type: Synchronous [Sync]
*/
Windows.GetRegisteredMail(); //Example Result: omerhuseyingul@outlook.com
/*
Function Name: GetOperatingSystemName
Parameter Status: Without parameters
Return Value: System.String
Function Description: Returns your operating system product name.
Thread Type: Synchronous [Sync]
*/
Windows.GetOperatingSystemName(); // Example Result: Microsoft Windows 11 Pro
/*
Function Name: GetUsername
Parameter Status: Without parameters
Return Value: System.String
Function Description: Returns your operating system username.
Thread Type: Synchronous [Sync]
*/
Windows.GetUsername(); // Example Result: OMERH
Asynchronous Functions
- Asynchronous functions that handle operating system information.
using AdvancedWindowsUtility;
/*
Function Name: GetAvailableMemorySpaceAsync
Parameter Status: string (type) [Packet Type] [Types: Bytes, KBytes, MBytes, GBytes]
Return Value: System.String
Function Description: Returns the amount of memory available from the package type you specify.
Thread Type: Asynchronous [Async]
*/
await Windows.GetAvailableMemorySpaceAsync("MBytes"); // Example Result: 62424796
/*
Function Name: IsRunningProcess
Parameter Status: string (procParam) [Process Name]
Return Value: System.String
Function Description: Returns whether the specified application is running.
Thread Type: Asynchronous [Async]
*/
await Windows.IsRunningProcessAsync("devenv.exe"); // Example Result: true
/*
Function Name: GetRegisteredMailAsync
Parameter Status: Without parameters
Return Value: System.String
Function Description: Returns the Microsoft mail address registered to the operating system.
Thread Type: Asynchronous [Async]
*/
await Windows.GetRegisteredMail(); //Example Result: omerhuseyingul@outlook.com
/*
Function Name: GetOperatingSystemNameAsync
Parameter Status: Without parameters
Return Value: System.String
Function Description: Returns your operating system product name.
Thread Type: Asynchronous [Async]
*/
await Windows.GetOperatingSystemName(); // Example Result: Microsoft Windows 11 Pro
/*
Function Name: GetUsernameAsync
Parameter Status: Without parameters
Return Value: System.String
Function Description: Returns your operating system username.
Thread Type: Asynchronous [Async]
*/
await Windows.GetUsername(); // Example Result: OMERH
Authors
Tech Stack
Programming Language: C# (CSharp)
Framework: .NET Core
Used By
This project is used by the following companies.
- qSoft Systems
- One Platforms Open Source Software Unit
- gamesense Entertainment
- nuxonic Development
Support
To contact the developer, see the communication channels below.
License
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- System.Management (>= 6.0.0)
-
net6.0
- System.Management (>= 6.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.