Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace FTPRush
- {
- class Program
- {
- static void Main(string[] args)
- {
- RuSharp client = new RuSharp();
- client.EnableCallback();
- client.processCallback += new processCallbackEvent(clientCallback);
- if (client.isRunning()) {
- Console.WriteLine("App running:" + client.getVersion());
- if (client.Login("tasdfasdfasdf", "", "RS_BOOKMARK"))
- {
- Console.WriteLine("Logged in OK.");
- }
- }
- }
- public static void clientCallback(string[] args)
- {
- Console.WriteLine("Callback hit.");
- for (int i = 0; i < args.Length; i++)
- {
- Console.WriteLine("client callback: " + args[i]);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement