I have code:-

Code:
 
 Dim pin() As Byte = RegistryKey.GetValue("PIN")
that works OK with Option Stict off.

When I turm Option strict on I get

Code:
Option Strict On disallows implicit conversions from 'System.Object' to '1-dimensional array of Byte'.
The Registry Key is Reg Type REG_BINARY

How should I be coding this to cope with Option Strict on?