CimDeserializer.DeserializeInstance Method (Byte[], UInt32)

 

Deserializes a CIM instance based on serialized data.

Namespace:   Microsoft.Management.Infrastructure.Serialization
Assembly:  Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)

Syntax

public CimInstance DeserializeInstance(
    byte[] serializedData,
    ref uint offset
)
public:
CimInstance^ DeserializeInstance(
    array<unsigned char>^ serializedData,
    unsigned int% offset
)
member DeserializeInstance : 
        serializedData:byte[] *
        offset:uint32 byref -> CimInstance
Public Function DeserializeInstance (
    serializedData As Byte(),
    ByRef offset As UInteger
) As CimInstance

Parameters

  • serializedData
    Type: System.Byte[]

    A buffer that contains the serialized data.

  • offset
    Type: System.UInt32

    The byte offset to the location at which to begin reading the data. When the method returns, the offset will be pointing to the next byte after the deserialized instance.

Return Value

Type: Microsoft.Management.Infrastructure.CimInstance

The CIM instance.

See Also

DeserializeInstance Overload
CimDeserializer Class
Microsoft.Management.Infrastructure.Serialization Namespace

Return to top