How do you create a string expertblob?

I'm messing with the remote assistance api's and need to use an expertblob for one of the calls. The only problem is I have no idea how to declare or use this type of variable.

If anybody could render me a reply it would be much appreciated.

Thanks all.

*** Followup ***
After reading over my own question I realize that I have not given enough detail.

I'm attempting to use the builtin windows remote assistance dll rdchost.dll and am trying to use theRDCCLIENTHOSTLib.SAFRemoteDesktopClient.ConnectToServer(string expertBlob) function and no matter what I try to put into the string it will not work, it throws an exception:
"Value does not fall within the expected range."

I have tried using the IPAddress from System.Net, standard strings, hardcoded strings, byte values and such. Nothing has worked for me.

I'm sure something very simple is to blame.

Any thoughts are greatly appreciated.

Here is the code I have so far:

SAFRemoteDesktopClient RDPClient =newSAFRemoteDesktopClient();

IPAddress expertBlob =IPAddress.Parse(tbServer.Text);

try

{

RDPClient.ConnectToServer(expertBlob.ToString());//Statement fails, requires type conversion.

}

catch (Exception E)

{

tslMessages.Text = E.Message;

}

[2012 byte] By [Gombly] at [2008-2-6]
# 1
Gombly wrote:
I'm messing with the remote assistance api's and need to use an expertblob for one of the calls. The only problem is I have no idea how to declare or use this type of variable.

If anybody could render me a reply it would be much appreciated.

Thanks all.

*** Followup ***
After reading over my own question I realize that I have not given enough detail.

I'm attempting to use the builtin windows remote assistance dll rdchost.dll and am trying to use the RDCCLIENTHOSTLib.SAFRemoteDesktopClient.ConnectToServer(string expertBlob) function and no matter what I try to put into the string it will not work, it throws an exception:
"Value does not fall within the expected range."

I have tried using the IPAddress from System.Net, standard strings, hardcoded strings, byte values and such. Nothing has worked for me.

I'm sure something very simple is to blame.

Any thoughts are greatly appreciated.

Here is the code I have so far:

SAFRemoteDesktopClient RDPClient = new SAFRemoteDesktopClient();

IPAddress expertBlob = IPAddress.Parse(tbServer.Text);

try

{

RDPClient.ConnectToServer(expertBlob.ToString()); //Statement fails, requires type conversion.

}

catch (Exception E)

{

tslMessages.Text = E.Message;

}

Did you solve this problem?

OShah at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual C# 2005 Express Edition...
# 2

OShah wrote:

Did you solve this problem?

I haven't received a reply to this in over a week. Therefore, I must assume you've resolved this question.

Whether it's because you found a solution, workaround, or simply given up on the question, an answer now would likely be of no use to you. Since it is unlikely that we'll ever find an answer to this problem (even if we do you won't see it because you're no longer reading these forums), and to ease searching in this forum, I'll mark this question as resolved.

If you don't agree to this, please feel free to unmark the answer and reply with what part of the problem you still are having trouble with.

OShah at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual C# 2005 Express Edition...
# 3

hi,

I have the same problem. I have no idea what it is. I am very interested in finding answer to what the expertBlob is.

Sebcio at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual C# 2005 Express Edition...
# 4
I'm sorry, the project was side lined and I have not looked into it further. As far as I know nothing has been resolved.
Gombly at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual C# 2005 Express Edition...