Share via


MFKeyConfig.UpdateDeviceKey Method (MFDevice, KeyIndex, byte[])

Updates the public key of a device.

Namespace: Microsoft.NetMicroFramework.Tools.MFDeployTool.Engine
Assembly: (in )

Syntax

public void UpdateDeviceKey (
         MFDevicedevice,
         PublicKeyUpdateInfo.KeyIndex index,
         byte[] publicKey
)

Parameters

  • device
    Specifies the device whose public key is updated.
  • index
    Selects the public key to update.
  • publicKey
    Holds the new public key.

Version Information

Available in MFDeploy version 2.0

See Also

Reference

MFKeyConfig Members
MFKeyConfig Class