Skip to content

Commit

Permalink
Update repos, update CPUID to v1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
iAJTin committed Jan 4, 2024
1 parent d0e55d6 commit 74423d8
Show file tree
Hide file tree
Showing 68 changed files with 614 additions and 898 deletions.
12 changes: 6 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Changelog
All notable changes to this project will be documented in this file.

## 1.0.6 -
## 1.0.6 - 2024-04-01

### Fixes

Expand All @@ -21,11 +21,11 @@ All notable changes to this project will be documented in this file.

| Library | Version | Description|
|:--------|:--------|:-----------|
|iTin.Core| **2.0.0.7** | Base library containing various extensions, helpers, common constants |
|iTin.Core.Hardware.Common| **1.0.0.5** | Common Hardware Infrastructure |
|iTin.Core.Hardware.CrossPlatform.Cpuid | **1.0.0.1** | Cross-Platform Generic Hardware Calls (CPUID) |
|iTin.Core.Interop.CrossPlatform.Cpuid | **1.0.0.1** |Generic Cross-Platform Interop Calls (CPUID) |
|iTin.Core.Interop.Shared| **1.0.0.4** | Generic Shared Interop Definitions, Data Structures, Constants... |
|iTin.Core| **2.0.0.8** | Base library containing various extensions, helpers, common constants |
|iTin.Core.Hardware.Common| **1.0.0.6** | Common Hardware Infrastructure |
|iTin.Core.Hardware.CrossPlatform.Cpuid | **1.0.0.2** | Cross-Platform Generic Hardware Calls (CPUID) |
|iTin.Core.Interop.CrossPlatform.Cpuid | **1.0.0.2** |Generic Cross-Platform Interop Calls (CPUID) |
|iTin.Core.Interop.Shared| **1.0.0.5** | Generic Shared Interop Definitions, Data Structures, Constants... |
|iTin.Hardware.Specification.Cpuid | **1.0.0.3** | CPUID Specification Implementation |
|iTin.Logging | **1.0.0.3** | Logging library |

Expand Down
190 changes: 95 additions & 95 deletions README.txt

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ public struct CpuidLeafContent
| [CpuidLeafContent](CpuidLeafContent/CpuidLeafContent.md)(…) | Initializes a new instance of the [`CpuidLeafContent`](./CpuidLeafContent.md) struct. |
| [Leaf](CpuidLeafContent/Leaf.md) { get; } | Gets the [`Leaf`](./CpuidLeafContent/Leaf.md) value. |
| [Equals](CpuidLeafContent/Equals.md)(…) | Indicates whether the current object is equal to another object of the same type. |
| override [Equals](CpuidLeafContent/Equals.md)(…) | Determines whether the specified Object is equal to this instance. |
| override [GetHashCode](CpuidLeafContent/GetHashCode.md)() | Returns a hash code for this instance. |
| override [ToString](CpuidLeafContent/ToString.md)() | Returns a String that represents this instance. |
| override [Equals](CpuidLeafContent/Equals.md)(…) | |
| override [GetHashCode](CpuidLeafContent/GetHashCode.md)() | |
| override [ToString](CpuidLeafContent/ToString.md)() | |
| [operator ==](CpuidLeafContent/op_Equality.md) | Implements the == operator. |
| [operator !=](CpuidLeafContent/op_Inequality.md) | Implements the != operator. |

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public bool Equals(CpuidLeafContent other)

## Return Value

true if the current object is equal to the parameter *other*; Otherwise, false.
`true` if the current object is equal to the parameter *other*; Otherwise, `false`.

## See Also

Expand All @@ -23,20 +23,10 @@ true if the current object is equal to the parameter *other*; Otherwise, false.

# CpuidLeafContent.Equals method (2 of 2)

Determines whether the specified Object is equal to this instance.

```csharp
public override bool Equals(object obj)
```

| parameter | description |
| --- | --- |
| obj | Another object with which the comparison is to be made. |

## Return Value

true if the specified Object is equal to this instance; otherwise, false.

## See Also

* struct [CpuidLeafContent](../CpuidLeafContent.md)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
# CpuidLeafContent.GetHashCode method

Returns a hash code for this instance.

```csharp
public override int GetHashCode()
```

## Return Value

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

## See Also

* struct [CpuidLeafContent](../CpuidLeafContent.md)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
# CpuidLeafContent.ToString method

Returns a String that represents this instance.

```csharp
public override string ToString()
```

## Return Value

A String that represents this instance.

## See Also

* struct [CpuidLeafContent](../CpuidLeafContent.md)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public static bool operator ==(CpuidLeafContent right, CpuidLeafContent left)

## Return Value

Returns true if right is equal to left; false otherwise.
Returns `true` if right is equal to left; otherwise `false`.

## See Also

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public static bool operator !=(CpuidLeafContent right, CpuidLeafContent left)

## Return Value

Returns true if right is not equal to left; false otherwise.
Returns `true` if right is not equal to left; otherwise `false`.

## See Also

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public QuerySubLeafPropertyCollectionResult GetProperties(IPropertyKey propertyK

## Return Value

A [`QuerySubLeafPropertyCollectionResult`](../QuerySubLeafPropertyCollectionResult.md) reference that contains the result of the operation, to check if the operation is correct, the Success property will be true and the Value property will contain the value; Otherwise, the the Success property will be false and the Errors property will contain the errors associated with the operation, if they have been filled in.
A [`QuerySubLeafPropertyCollectionResult`](../QuerySubLeafPropertyCollectionResult.md) reference that contains the result of the operation, to check if the operation is correct, the Success property will be `true` and the Value property will contain the value; otherwise, the Success property will be false and the Errors property will contain the errors associated with the operation, if they have been filled in.

The type of the Value property is [`CpuidSubLeafDictionary`](../CpuidSubLeafDictionary.md). Contains the result of the operation.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public QueryPropertyResult GetProperty(IPropertyKey propertyKey)

## Return Value

A QueryPropertyResult reference that contains the result of the operation, to check if the operation is correct, the Success property will be true and the Value property will contain the value; Otherwise, the the Success property will be false and the Errors property will contain the errors associated with the operation, if they have been filled in.
A QueryPropertyResult reference that contains the result of the operation, to check if the operation is correct, the Success property will be `true` and the Value property will contain the value; otherwise, the Success property will be false and the Errors property will contain the errors associated with the operation, if they have been filled in.

The type of the Value property is PropertyItem.

Expand Down
4 changes: 2 additions & 2 deletions documentation/iTin.Hardware.Specification.Cpuid/LeafBase.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ public abstract class LeafBase
| [Leaf](LeafBase/Leaf.md) { get; } | Gets the [`Leaf`](./LeafBase/Leaf.md) value. |
| [SubLeaf](LeafBase/SubLeaf.md) { get; } | Gets the [`SubLeaf`](./LeafBase/SubLeaf.md) value. |
| [GetProperty](LeafBase/GetProperty.md)(…) | Returns the value of specified property. Always returns the first appearance of the property. |
| override [ToString](LeafBase/ToString.md)() | Returns a String that represents this instance. |
| override [ToString](LeafBase/ToString.md)() | |

## Protected Members

| name | description |
| --- | --- |
| [LeafBase](LeafBase/LeafBase.md)(…) | Initializes a new instance of the class [`LeafBase`](./LeafBase.md). |
| [InvokeResult](LeafBase/InvokeResult.md) { get; set; } | Gets or sets the result of executes the CPUID instruction with given leaf and optional subleaf. |
| [InvokeResult](LeafBase/InvokeResult.md) { get; set; } | Gets or sets the result of executes the CPUID instruction with given leaf and optional sub-leaf. |
| virtual [PopulateProperties](LeafBase/PopulateProperties.md)(…) | Populates the property collection for this leaf. |

## See Also
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public QueryPropertyResult GetProperty(IPropertyKey propertyKey)

## Return Value

A QueryPropertyResult reference that contains the result of the operation, to check if the operation is correct, the Success property will be true and the Value property will contain the value; Otherwise, the the Success property will be false and the Errors property will contain the errors associated with the operation, if they have been filled in.
A QueryPropertyResult reference that contains the result of the operation, to check if the operation is correct, the Success property will be `true` and the Value property will contain the value; otherwise, the Success property will be false and the Errors property will contain the errors associated with the operation, if they have been filled in.

The type of the Value property is PropertyItem. Contains the result of the operation.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# LeafBase.InvokeResult property

Gets or sets the result of executes the CPUID instruction with given leaf and optional subleaf.
Gets or sets the result of executes the CPUID instruction with given leaf and optional sub-leaf.

```csharp
protected CpuidResult InvokeResult { get; set; }
```

## Property Value

A CpuidResult structure which contains the result of executes the CPUID instruction with given leaf and optional subleaf.
A CpuidResult structure which contains the result of executes the CPUID instruction with given leaf and optional sub-leaf.

## See Also

Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
# LeafBase.ToString method

Returns a String that represents this instance.

```csharp
public override string ToString()
```

## Return Value

A String that represents this instance.

## See Also

* class [LeafBase](../LeafBase.md)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# QuerySubLeafPropertyCollectionResult.CreateErrorResult method (1 of 4)

Returns a new [`QuerySubLeafPropertyCollectionResult`](../QuerySubLeafPropertyCollectionResult.md) with specified detailed errors collection.
Returns a new [`QuerySubLeafPropertyCollectionResult`](../QuerySubLeafPropertyCollectionResult.md) with specified detailed errors' collection.

```csharp
public static QuerySubLeafPropertyCollectionResult CreateErrorResult(IResultError[] errors)
Expand All @@ -12,7 +12,7 @@ public static QuerySubLeafPropertyCollectionResult CreateErrorResult(IResultErro

## Return Value

A new invalid [`QuerySubLeafPropertyCollectionResult`](../QuerySubLeafPropertyCollectionResult.md) with specified detailed errors collection.
A new invalid [`QuerySubLeafPropertyCollectionResult`](../QuerySubLeafPropertyCollectionResult.md) with specified detailed errors' collection.

## See Also

Expand All @@ -23,7 +23,7 @@ A new invalid [`QuerySubLeafPropertyCollectionResult`](../QuerySubLeafPropertyCo

# QuerySubLeafPropertyCollectionResult.CreateErrorResult method (2 of 4)

Returns a new [`QuerySubLeafPropertyCollectionResult`](../QuerySubLeafPropertyCollectionResult.md) with specified detailed errors collection.
Returns a new [`QuerySubLeafPropertyCollectionResult`](../QuerySubLeafPropertyCollectionResult.md) with specified detailed errors' collection.

```csharp
public static QuerySubLeafPropertyCollectionResult CreateErrorResult(IResultError[] errors,
Expand All @@ -37,7 +37,7 @@ public static QuerySubLeafPropertyCollectionResult CreateErrorResult(IResultErro

## Return Value

A new invalid [`QuerySubLeafPropertyCollectionResult`](../QuerySubLeafPropertyCollectionResult.md) with specified detailed errors collection.
A new invalid [`QuerySubLeafPropertyCollectionResult`](../QuerySubLeafPropertyCollectionResult.md) with specified detailed errors' collection.

## See Also

Expand Down
31 changes: 12 additions & 19 deletions iCPUID.sln
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NetCore", "NetCore", "{46DC
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "iCPUID.ConsoleApp", "src\test\FullFramework\iCPUID.ConsoleApp\iCPUID.ConsoleApp.csproj", "{212B28B4-CD31-4B9E-BB45-82A8F34940C8}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "iCPUID.ConsoleAppCore31", "src\test\NetCore\iCPUID.ConsoleAppCore31\iCPUID.ConsoleAppCore31.csproj", "{44086DA6-21AF-440C-BE21-EBC50B404CB8}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "iCPUID.ConsoleAppCore60", "src\test\NetCore\iCPUID.ConsoleAppCore60\iCPUID.ConsoleAppCore60.csproj", "{9B3AC995-5841-4FE1-9209-E65404138EF3}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "iTin.Hardware.Specification.Cpuid", "src\lib\net\iTin.Hardware\iTin.Hardware.Specification.Cpuid\iTin.Hardware.Specification.Cpuid.csproj", "{94391F2E-D57E-4284-8D57-FB8EE9730757}"
Expand All @@ -65,9 +63,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "iTin.Logging", "..\iTin\iTi
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "iTin.Core", "..\iTin\iTin.Core\iTin.Core\src\iTin.Core.csproj", "{ADE5D508-BA17-4757-B7E2-8CDFAF151140}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "iTin.Core.Interop.Shared", "..\iTin\iTin.Core\iTin.Core.Interop.Shared\src\iTin.Core.Interop.Shared.csproj", "{165AC5C6-10DC-47F6-B3BD-9E5D390EAEA8}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "iTin.Core.Hardware.Common", "..\iTin\iTin.Core\iTin.Core.Hardware\iTin.Core.Hardware.Common\src\iTin.Core.Hardware.Common.csproj", "{8A97A25B-0AF9-400A-93A0-D88D7FF38C55}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "iTin.Core.Hardware.Common", "..\iTin\iTin.Core\iTin.Core.Hardware.Common\src\iTin.Core.Hardware.Common.csproj", "{7FD11BC8-5B3B-4CA4-85A1-5F90CA3495C0}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "iTin.Core.Interop.Shared", "..\iTin\iTin.Core\iTin.Core.Interop\iTin.Core.Interop.Shared\src\iTin.Core.Interop.Shared.csproj", "{41E300EE-A663-48A7-9B38-2EFA7CE978A2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -87,10 +85,6 @@ Global
{212B28B4-CD31-4B9E-BB45-82A8F34940C8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{212B28B4-CD31-4B9E-BB45-82A8F34940C8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{212B28B4-CD31-4B9E-BB45-82A8F34940C8}.Release|Any CPU.Build.0 = Release|Any CPU
{44086DA6-21AF-440C-BE21-EBC50B404CB8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{44086DA6-21AF-440C-BE21-EBC50B404CB8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{44086DA6-21AF-440C-BE21-EBC50B404CB8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{44086DA6-21AF-440C-BE21-EBC50B404CB8}.Release|Any CPU.Build.0 = Release|Any CPU
{9B3AC995-5841-4FE1-9209-E65404138EF3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9B3AC995-5841-4FE1-9209-E65404138EF3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9B3AC995-5841-4FE1-9209-E65404138EF3}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -107,14 +101,14 @@ Global
{ADE5D508-BA17-4757-B7E2-8CDFAF151140}.Debug|Any CPU.Build.0 = Debug|Any CPU
{ADE5D508-BA17-4757-B7E2-8CDFAF151140}.Release|Any CPU.ActiveCfg = Release|Any CPU
{ADE5D508-BA17-4757-B7E2-8CDFAF151140}.Release|Any CPU.Build.0 = Release|Any CPU
{165AC5C6-10DC-47F6-B3BD-9E5D390EAEA8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{165AC5C6-10DC-47F6-B3BD-9E5D390EAEA8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{165AC5C6-10DC-47F6-B3BD-9E5D390EAEA8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{165AC5C6-10DC-47F6-B3BD-9E5D390EAEA8}.Release|Any CPU.Build.0 = Release|Any CPU
{7FD11BC8-5B3B-4CA4-85A1-5F90CA3495C0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7FD11BC8-5B3B-4CA4-85A1-5F90CA3495C0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7FD11BC8-5B3B-4CA4-85A1-5F90CA3495C0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7FD11BC8-5B3B-4CA4-85A1-5F90CA3495C0}.Release|Any CPU.Build.0 = Release|Any CPU
{8A97A25B-0AF9-400A-93A0-D88D7FF38C55}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8A97A25B-0AF9-400A-93A0-D88D7FF38C55}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8A97A25B-0AF9-400A-93A0-D88D7FF38C55}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8A97A25B-0AF9-400A-93A0-D88D7FF38C55}.Release|Any CPU.Build.0 = Release|Any CPU
{41E300EE-A663-48A7-9B38-2EFA7CE978A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{41E300EE-A663-48A7-9B38-2EFA7CE978A2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{41E300EE-A663-48A7-9B38-2EFA7CE978A2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{41E300EE-A663-48A7-9B38-2EFA7CE978A2}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -142,13 +136,12 @@ Global
{36EE8C99-8A50-4B89-AB85-62889B7736EE} = {9CC3D223-429B-4F9C-AFB1-62DB5C7AA537}
{46DC7660-8AC5-496D-A9AC-CC32176C9D7D} = {9CC3D223-429B-4F9C-AFB1-62DB5C7AA537}
{212B28B4-CD31-4B9E-BB45-82A8F34940C8} = {36EE8C99-8A50-4B89-AB85-62889B7736EE}
{44086DA6-21AF-440C-BE21-EBC50B404CB8} = {46DC7660-8AC5-496D-A9AC-CC32176C9D7D}
{9B3AC995-5841-4FE1-9209-E65404138EF3} = {46DC7660-8AC5-496D-A9AC-CC32176C9D7D}
{94391F2E-D57E-4284-8D57-FB8EE9730757} = {2B59E4F2-63ED-451E-A129-0F1BB120C489}
{7EF7A3AA-D7FF-46FB-BE67-3627A57E1279} = {3B26CD98-6EFC-4C82-A943-76F4DD9E5104}
{ADE5D508-BA17-4757-B7E2-8CDFAF151140} = {CA765D0F-855F-47AE-94FB-F87F977BF6F9}
{165AC5C6-10DC-47F6-B3BD-9E5D390EAEA8} = {EBA7075B-AF98-4C89-905F-FE3010B8D3FA}
{7FD11BC8-5B3B-4CA4-85A1-5F90CA3495C0} = {4E03C3BF-2594-42DB-A37B-21EC35A99CB5}
{8A97A25B-0AF9-400A-93A0-D88D7FF38C55} = {4E03C3BF-2594-42DB-A37B-21EC35A99CB5}
{41E300EE-A663-48A7-9B38-2EFA7CE978A2} = {EBA7075B-AF98-4C89-905F-FE3010B8D3FA}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {865B30D7-C009-4E5F-AF69-2873D9859C1F}
Expand Down
2 changes: 1 addition & 1 deletion nuget/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# What is iCPUID?
iCPUID is a lightweight cross-platform implementation that allows us to obtain the CPUID information.
**iCPUID** is a lightweight cross-platform implementation that allows us to obtain the **CPUID** information.

Works on Windows, Mac and Linux

Expand Down
2 changes: 1 addition & 1 deletion nuget/iCPUID.1.0.6.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<iconUrl>https://raw.githubusercontent.com/iAJTin/iCPUID/master/nuget/iCPUID.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>iCPUID is a lightweight cross-platform implementation that allows us to obtain the CPUID information. Works on Windows, Mac and Linux</description>
<copyright>Copyright © 2022 iAJTin</copyright>
<copyright>Copyright © 2024 iAJTin</copyright>
<tags>CPUID CPU hardware iTin</tags>
<repository type="git" url="https://github.com/iAJTin/iCPUID" commit="960c30a26b48edc875a6e10e252925cd423ae2f3" />
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,25 @@
namespace iTin.Core.Hardware.CrossPlatform.Cpuid;

/// <summary>
/// Methods for handle CPUID microprocessor features.
/// Methods for handle <strong>CPUID</strong> microprocessor features.
/// </summary>
public static class SafeCpuidNativeMethods
{
/// <summary>
/// Gets a value that indicates whether there is support for the <b>CPUID</b> function of the microprocessor.
/// </summary>
/// <returns>
/// Returns <b>true</b> in case the <b>CPUID</b> instruction is supported; <b>false</b> otherwise.
/// Returns <see langword="true"/> in case the <b>CPUID</b> instruction is supported; otherwise <see langword="false"/>.
/// </returns>
public static bool CpuidIsSupported() => NativeMethods.cpuid_is_supported();

/// <summary>
/// Returns the result of the <b>CPUID</b> instruction for a given <paramref name="leaf"/> and <paramref name="subleaf"/>.
/// Returns the result of the <strong>CPUID</strong> instruction for a given <paramref name="leaf"/> and <paramref name="subLeaf"/>.
/// </summary>
/// <param name="leaf">A <see cref="uint"/> which defines the value of the <b>eax</b> register.</param>
/// <param name="subleaf">A <see cref="uint"/> which defines the value of the <b>ecx</b> register.</param>
/// <param name="leaf">A <see cref="uint"/> which defines the value of the <strong>eax</strong> register.</param>
/// <param name="subLeaf">A <see cref="uint"/> which defines the value of the <strong>ecx</strong> register.</param>
/// <returns>
/// Returns a <see cref="CpuidResult"/> structure that contains the result of the operation.
/// </returns>
public static CpuidResult Invoke(uint leaf, uint subleaf = 0x00) => NativeMethods.cpuid_with_subleaf(leaf, subleaf);
public static CpuidResult Invoke(uint leaf, uint subLeaf = 0x00) => NativeMethods.cpuid_with_subleaf(leaf, subLeaf);
}
Loading

0 comments on commit 74423d8

Please sign in to comment.