RLP unlock code gives invalid arguments


I have the Fez Corba for development and have ask for the rlp acces code, the code I have get in my hotmail and did past in the code, but I get an error that has some invalid arguments.

The native references is added and using native also.

what is wrong?

What is the error that you are getting?

This error is in the Error List:

The best overloaded method match for ‘GHIElectronics.NETMF.Native.RLP.Unlock(uint, byte[])’ has some invalid arguments

The first argument is a string not uint!

An example will look like this

RLP.Unlock(“GUSI@ GHIELECTRONICS.COM69C1232FB”, new byte[] {0x9E, 0xEF, 0x25, 0x3E, …);

Hello Gus,

That is how my unlock look like: RLP.Unlock(“PATRICKLOEF@ HOTMAIL.COMXXXXX”, new byte[]{0x37,…})

I have example code:

using System;
using GHIElectronics.NETMF.Native;

namespace fez_cobra

public class Program
public static void Main()
RLP.Unlock(“PATRICKLOEF@ HOTMAIL.COMXXXXX”, new byte[]{0x37,…})

Then I get the error, i have added the reference GHIElectronics.NETMF.Native

Did i forgot something?

This might be a long shot, but have you checked to see if you have the latest SDK and firmware? That might be why you have a different function prototype than we do:

GHIElectronics.NETMF.Native.RLP.Unlock(uint, byte[]);


GHIElectronics.NETMF.Native.RLP.Unlock(string, byte[]);

Thanks for the tip, I did update every thing and now the problem is solved, thank you!