[C# .Net] Need help to Send Login Details to SRO Client

12/18/2011 07:02 mayyubiradar#1
Hello all,

I am trying to send the login ID & password from Windows Form to Silkroad client. But I dont succeed with SendMessage, PostMessage & SendKeys. Can someone please help me send the ID & password to Silkroad client? (I dont need AutoIt/AutoITX).

Thanks in advance.


Regards,
Mahesh
12/18/2011 12:03 stiifii#2
The best way is sending it as packets.
You can use this: [Only registered and activated users can see links. Click Here To Register...]
12/18/2011 12:33 Nezekan#3
Quote:
Originally Posted by mayyubiradar View Post
Hello all,

I am trying to send the login ID & password from Windows Form to Silkroad client. But I dont succeed with SendMessage, PostMessage & SendKeys. Can someone please help me send the ID & password to Silkroad client? (I dont need AutoIt/AutoITX).

Thanks in advance.


Regards,
Mahesh
Why exactly do you want to do this? If you gave us the bigger picture it would be easier to help you, if you just want some kind of autologin I think autoit would be much easier than messing around with c# for something this simple
12/18/2011 14:13 mayyubiradar#4
Quote:
Originally Posted by Nezekan View Post
Why exactly do you want to do this? If you gave us the bigger picture it would be easier to help you, if you just want some kind of autologin I think autoit would be much easier than messing around with c# for something this simple
Yes, I need it for auto log in. I don't prefer autoit. I did use AutoITX but it sends the string parameter as '?????'. I guess there is a way to pass it through client memory address. If someone help me providing a sample will be very helpful.

Btw, thanks for your reply.

@stiiffi
Sending it through packets would not be perfect solution for my program. It would also be more complex for me to debug it as I dont exactly understand the socket/packets (newbie). :) Anyways, thanks for your idea too.
12/19/2011 08:17 Nezekan#5
Quote:
Originally Posted by mayyubiradar View Post
Yes, I need it for auto log in. I don't prefer autoit. I did use AutoITX but it sends the string parameter as '?????'. I guess there is a way to pass it through client memory address. If someone help me providing a sample will be very helpful.

Btw, thanks for your reply.

@stiiffi
Sending it through packets would not be perfect solution for my program. It would also be more complex for me to debug it as I dont exactly understand the socket/packets (newbie). :) Anyways, thanks for your idea too.
Well sending it through a packet is not that hard really, Drew did all the hard work for you, and it's the best idea if you would like to build some more stuff on top of your program later.

I would advise you to read the most recent tutorials made by pushedx, his code may be a bit hard to understand at first, but it's worth the time

Anyway just a little note, you don't need to say thanks on this board, we have a thanks button on every post ;)