- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sometimes the command AmtCallStatus s = computer.Remote.SendRemoteControl(0x11, 0x157, 0x0, 0x0, 0x0, 0x0); doesnt work.
somebody can help me?
This is the code that i use:
AmtSystem computer = Singleton.GetConnection(ip,login,senha);
form.GetLabel().Text = "Conectado";
if (computer == null || computer.State != AmtSystemObjState.Connected || computer.Remote == null)
{
form.GetLabel().Text = "Falha";
return;
}
if (computer.AmtRev == 1) { }
Thread.Sleep(100);
AmtCallStatus s = computer.Remote.SendRemoteControl(0x11, 0x157, 0x0, 0x0, 0x0, 0x0);
if (s == AmtCallStatus.SUCCESS)
{
form.GetLabel().Text = "Comando executado com sucesso";
}
else
{
form.GetLabel().Text = "Comando falhou "+s.ToString();
}
Thread.Sleep(12000);
computer.Disconnect();
somebody can help me?
This is the code that i use:
AmtSystem computer = Singleton.GetConnection(ip,login,senha);
form.GetLabel().Text = "Conectado";
if (computer == null || computer.State != AmtSystemObjState.Connected || computer.Remote == null)
{
form.GetLabel().Text = "Falha";
return;
}
if (computer.AmtRev == 1) { }
Thread.Sleep(100);
AmtCallStatus s = computer.Remote.SendRemoteControl(0x11, 0x157, 0x0, 0x0, 0x0, 0x0);
if (s == AmtCallStatus.SUCCESS)
{
form.GetLabel().Text = "Comando executado com sucesso";
}
else
{
form.GetLabel().Text = "Comando falhou "+s.ToString();
}
Thread.Sleep(12000);
computer.Disconnect();
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you give us more details on this? What is your AMT version? SDK version? What are you trying to do here? what is the error message you are getting while making this call?
Thanks,
Sree
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page