hakanay133
Yeni Üye
- Katılım
- 24 Mar 2015
- Mesajlar
- 15
- Tepkime puanı
- 0
- Puanları
- 0
teşekkür
Genest' Alıntı:[hide]C# IP Address ile Karşı Bilgisayara Restart ve Shutdown gönderme ve aynı zamanda prosesi iptal etmeyi acıklayacagım Ajanlar
İlk önce using System.Diagnostics; kütüphanesini VB formunuza ekleyin.
Sonra textbox1.text - den girilen IP adresi Restart ve ya Shutdown edeceğiz.
[/hide]PHP:// Restart gonderme - IP Address ile Process.Start("shutdown", -/r /f /m \\\\- + textBox1.Text.Trim()); //Shutdown etme - IP Address ile Process.Start("shutdown", -/s /f /m \\\\- + textBox1.Text.Trim()); //Restart ve Shutdown - Iptal etme. IP Address ile Process.Start("shutdown", - /a /m \\\\- + textBox1.Text.Trim());