Skip to content

Releases: MartinKuschnik/WmiLight

Version 7.2.0

07 Apr 07:26

Choose a tag to compare

What's Changed

  • WbemClassObject can now read WMI properties of type Reference[] and returns them as string[]. Previously, accessing such properties caused a NotSupportedException to be thrown.

Thank you @icnocop for this contribution!

Full Changelog: v7.1.1...v7.2.0

Version 7.1.1

03 Apr 16:19
d145d36

Choose a tag to compare

What's Changed

  • WmiLight is now marked as AOT-compatible by setting the IsAotCompatible assembly attribute. This eliminates the warning IL3058: Referenced assembly 'WmiLight' is not built with 'true' and may not be compatible with AOT when the library is referenced by projects with VerifyReferenceAotCompatibility=true.

Thank you @ocoanet for this contribution!

Full Changelog: v7.1.0...v7.2.0

Version 7.1.0

18 Jan 10:17
a9181bc

Choose a tag to compare

What's Changed

  • Refactored authentication mechanism to fix issue #59: Resolved "Access Denied" error when connecting with domain users.
  • Removed manual NTLM/Kerberos authority selection; the authentication protocol is now negotiated automatically by Windows, providing more reliable and flexible authentication.

Full Changelog: v7.0.0...v7.1.0

Version 7.0.0

01 Jan 22:32

Choose a tag to compare

What's Changed

  • The native library functions are now imported via LibraryImport instead of DllImport. This should increase performance and NativeAOT compatibility.
  • Introduces support for . NET 10.
  • Improved the exception handling by throwing more specific exceptions for common errors instead of COMException.
  • Replaces the usage of Marshal.QueryInterface() with a native call to IUnknown.QueryInterface().

Full Changelog: v6.21.0...v7.0.0

Version 6.21.0

01 Jan 14:47
56b1a78

Choose a tag to compare

This release adds three new overloads to the CreateQueryForRelated extension method, allowing callers to specify enumerator behavior options and timeout values when querying for related WMI objects.

Version 6.20.0

01 Jan 10:35

Choose a tag to compare

This version introduces a new CreateQueryForRelated method that retrieves a collection of objects related to the object (associators), similar to GetRelated from System.Management.

Usage:

using (WmiConnection connection = new WmiConnection())
{
    foreach (WmiObject Win32_NetworkAdapter in connection.CreateQuery("SELECT * FROM Win32_NetworkAdapter").Reverse())
    {
        foreach (WmiObject Win32_NetworkAdapterConfiguration in connection.CreateQueryForRelated(Win32_NetworkAdapter, "Win32_NetworkAdapterConfiguration"))
        {
            // ...
        }
    }
}

Version 6.19.0

28 Dec 14:51

Choose a tag to compare

This release introduces support for EnumeratorTimeout configuration.

Version 6.18.0

26 Dec 17:36
795ed93

Choose a tag to compare

This version fixes a bug (#61) where EnablePackageEncryption = true incorrectly resulted in unencrypted connections. Connections are now properly encrypted when this option is enabled.

Version 6.17.0

18 Dec 11:54
361c0e6

Choose a tag to compare

This release fixes the bug #59, which was introduced with version 6.14.0 and prevented authentication for remote connections in .Net Framework applications.

Version 6.16.0

09 Nov 17:46
77c90f0

Choose a tag to compare

This release adds EH continuation metadata to the static library to eliminate the warning encountered when ControlFlowGuard is enabled. See issue #57 for more details.