WCN_VALUE_TYPE_DEVICE_PASSWORD_ID enumeration (wcntypes.h)

The WCN_VALUE_TYPE_DEVICE_PASSWORD_ID enumeration defines values that specify the origin or 'type' of a password.

Syntax

typedef enum tagWCN_VALUE_TYPE_DEVICE_PASSWORD_ID {
  WCN_VALUE_DP_DEFAULT,
  WCN_VALUE_DP_USER_SPECIFIED,
  WCN_VALUE_DP_MACHINE_SPECIFIED,
  WCN_VALUE_DP_REKEY,
  WCN_VALUE_DP_PUSHBUTTON,
  WCN_VALUE_DP_REGISTRAR_SPECIFIED,
  WCN_VALUE_DP_NFC_CONNECTION_HANDOVER,
  WCN_VALUE_DP_WFD_SERVICES,
  WCN_VALUE_DP_OUTOFBAND_MIN,
  WCN_VALUE_DP_OUTOFBAND_MAX
} WCN_VALUE_TYPE_DEVICE_PASSWORD_ID;

Constants

Name Description
WCN_VALUE_DP_DEFAULT The PIN password, obtained from the label, or
display will be used. This password may correspond to the label, display, or a user-defined password that has been
configured to replace the original device password.


To authenticate with the default password ID, call IWCNDevice::SetPassword with the PIN password type defined by WCN_PASSWORD_TYPE.
WCN_VALUE_DP_USER_SPECIFIED The user has overridden the default password with a manually selected value.


Note  Not supported in Windows 7.

 
WCN_VALUE_DP_MACHINE_SPECIFIED The default PIN password has been overridden by a strong, machine-generated
device password value.

Note  Not supported in Windows 7.

 
WCN_VALUE_DP_REKEY The 256-bit rekeying password
associated with the device will be used.

Note  Not supported in Windows 7.

 
WCN_VALUE_DP_PUSHBUTTON A password entered via a push button interface will be used.

To authenticate with the default password ID, call IWCNDevice::SetPassword with the push button password type defined by WCN_PASSWORD_TYPE.
WCN_VALUE_DP_REGISTRAR_SPECIFIED A PIN has been obtained from the Registrar via a display or
other out-of-band method.

Note  Not supported in Windows 7.

 
WCN_VALUE_DP_NFC_CONNECTION_HANDOVER
WCN_VALUE_DP_WFD_SERVICES
WCN_VALUE_DP_OUTOFBAND_MIN
WCN_VALUE_DP_OUTOFBAND_MAX

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header wcntypes.h

See also

WCN_ATTRIBUTE_TYPE