Genest
Özel Üye
- Katılım
- 12 Ara 2015
- Mesajlar
- 1,008
- Tepkime puanı
- 0
- Puanları
- 0
- Yaş
- 26
[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]
İlk önce using System.Diagnostics; kütüphanesini VB formunuza ekleyin.
Sonra textbox1.text - den girilen IP adresi Restart ve ya Shutdown edeceğiz.
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());