共用方式為


SecurityProviderSymmetricKey Class

Definition

The Device Security Provider interface for Symmetric Keys.

public class SecurityProviderSymmetricKey : Microsoft.Azure.Devices.Shared.SecurityProvider
type SecurityProviderSymmetricKey = class
    inherit SecurityProvider
Public Class SecurityProviderSymmetricKey
Inherits SecurityProvider
Inheritance
SecurityProviderSymmetricKey

Constructors

SecurityProviderSymmetricKey(String, String, String)

Initializes a new instance of the SecurityProviderSymmetricKey class.

Methods

Dispose()

Releases the unmanaged resources and disposes of the managed resources used by the invoker.

(Inherited from SecurityProvider)
Dispose(Boolean)

Releases all resources.

GetPrimaryKey()

Gets the primary key.

GetRegistrationID()

Gets the Registration Id used during device enrollment.

GetSecondaryKey()

Gets the secondary key.

Applies to