UtilWin32WindowsGuidToManagedGuid Method

Translates a GUID that is defined in a Windows C++ header file using the DEFINE_GUID macro, to a managed Guid.

Definition

Namespace: DevCase.Win32
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static Guid WindowsGuidToManagedGuid(
	string clikeGuid
)

Parameters

clikeGuid  String
A string containing the values of the GUID array format, like for example:

"0x450D8FBA,0xAD25,0x11D0,0x98,0xA8,0x08,0x00,0x36,0x1B,0x11,0x03"

Return Value

Guid
The resulting Guid.

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

Exceptions

ArgumentException clikeGuid;Wrong GUID format supplied.

See Also