How to start Robot from .Net API

Hi
I am trying to start the robot from .Net application wcf. Can anyone please share sample

Hi @DeviE,

Refer this link,
https://www.uipath.com/kb-articles/start-process-from-.net-application

https://www.uipath.com/kb-articles/uipath-robot-api

Regards,
Arivu

Hi,
I tried the ref Read me and getting below error

Hi @DeviE,

the error message showing you need to implement 3 methods.
you are inheriting the interface IUiPathRemoteDuplexContractCallback this class so you must give destination of the methods

    public void OnPackagesUpdated()
    {

    }
    public void OnLog(string value)
    {

    }
    public void OnTrackReceived(string value)
    {

    } 

you missed to add this namespace using System.Xml.Serialization;

Regards,
Arivu

I just included the classes. Atlast it is throwing one exception
Error 1 ‘ROBOT_API.RobotClient’ does not implement interface member ‘ROBOT_API.ServiceBot.IUiPathRemoteDuplexContractCallback.OnTrackReceived(string)’. ‘ROBOT_API.RobotClient.OnTrackReceived(string)’ cannot implement ‘ROBOT_API.ServiceBot.IUiPathRemoteDuplexContractCallback.OnTrackReceived(string)’ because it does not

you need to give definition of the methods i hope.

Regards,
Arivu

Do you have that project build successful

@DeviE, Not 100% sure

image

Reference:
Same link shared by Arivu

Regards,
Dom :slight_smile:

It is possible in version 7