You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+30-5
Original file line number
Diff line number
Diff line change
@@ -16,8 +16,8 @@ Dependencies:
16
16
PLP-SystemInfo is available as a [NuGet Package](https://www.nuget.org/packages/PLP-SystemInfo)
17
17
18
18
# Documentation
19
-
The package contains in the namespace ``PLP_SystemInfo``two classes for reading system information, ``SystemInfo`` and ``ComponentInfo``,
20
-
these classes contain different methods for reading system information.
19
+
The package contains in the namespace ``PLP_SystemInfo``one class for reading system information, ``SystemInfo.cs`` and 3 more namespaces: ``Collections``, ``ComponentInfo`` and ``Models``,
20
+
The namespaces ``Collections`` and ``Models`` are largely ignored for use. They only provide the corresponding classes for the outputs.
21
21
22
22
## PLP_SystemInfo.SystemInfo
23
23
The class ``SystemInfo`` contains mainly methods to read general system values.
@@ -44,22 +44,41 @@ Color c = SystemInfo.GetAccentColor();
44
44
45
45
## PLP_SystemInfo.ComponentInfo.*
46
46
The namespace ``PLP_SystemInfo.ComponentInfo`` contains different classes to read out the most important PC components.
47
-
Again, each method has a return value for simple usage.
48
47
48
+
### BoardInfo.cs
49
49
```cs
50
50
usingPLP_SystemInfo.ComponentInfo;
51
+
usingPLP_SystemInfo.Models;
51
52
52
53
Boardb=BoardInfo.GetMotherboard();
53
54
// Returns an object of type **Board** with manufacturer and model.
54
55
55
56
BIOSbios=BoardInfo.GetBIOSInfo();
56
57
// Returns an object of type **BIOS** with manufacturer and version.
58
+
```
59
+
60
+
61
+
### OSInfo.cs
62
+
```cs
63
+
usingPLP_SystemInfo.ComponentInfo;
57
64
58
65
stringos=OSInfo.GetOperatingSystemInfo();
59
66
// Returns a string with OS name and architecture.
0 commit comments