merhaba proxy değiştirme kodu lazım bana vb.net için varsa gönderirmisiniz.
kodlar işe yaramıyoImports Microsoft.Win32
Public Class Form1
Dim i = "1"
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
If i = ListBox1.Items.Count Then
i = "1"
ListBox1.SelectedIndex = "1"
Else
ListBox1.SelectedIndex = i
i = i + 1
ProxyDegistir(ListBox1.SelectedItem)
End If
End Sub
Public Sub ProxyDegistir(ByVal Proxy As String)
Dim proxykey As String = "Software\Microsoft\Windows\CurrentVersion\Internet Settings"
Dim RegKey As RegistryKey = Registry.CurrentUser.OpenSubKey(proxykey, True)
RegKey.SetValue("ProxyServer", Proxy)
RegKey.SetValue("ProxyEnable", 1)
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
ListBox1.SelectedIndex = "1"
End Sub
End Class
Bir timer ve listbox gerekli. Otomatik hallediyor, timerin kodlarını bir butona vs. koyabilirsin.
DÜZENLEME: Proxy program kapandıktan sonra da aktif kalacaktır, onun için şu kodları ekle ki program kapanırken proxy de otomatik kapansın:
Public Sub ProxyKapat()
Dim proxykey As String = "Software\Microsoft\Windows\CurrentVersion\Internet Settings"
Dim RegKey As RegistryKey = Registry.CurrentUser.OpenSubKey(proxykey, True)
RegKey.SetValue("ProxyEnable", 0)
End Sub
Private Sub Form1_FormClosing(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.FormClosing
ProxyKapat()
End Sub
Alıntıdır..
işini görür umarım..
tm kardeş bekliyom hadi :=)kardeş bende var ama arşiv diğer pc de ,
diğer pc ye geçince atarım
[COLOR="yellow"]Vb.net için[/COLOR]
[COLOR="Plum"] Public Sub ProxyDegistir()
Dim proxykey As String = "Software\Microsoft\Windows\CurrentVersion\Internet Settings"
Dim RegKey As RegistryKey = Registry.CurrentUser.OpenSubKey(proxykey, True)
RegKey.SetValue("ProxyServer", "21.21.21:80")
RegKey.SetValue("ProxyEnable", 1)
End Sub[/COLOR]
[COLOR="Yellow"]C# için[/COLOR]
[COLOR="RoyalBlue"]public voi.d ProxyDegistir()
{
string proxykey = "Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings";
RegistryKey RegKey = Registry.CurrentUser.OpenSubKey(key, true);
RegKey.SetValue("ProxyServer", "21.21.21:80");
RegKey.SetValue("ProxyEnable", 1);
}[/COLOR]
butona tıklayınca nasıl değiştirck ?21.21.21:80 yazan yere kendi proxy'nizi yazınKod:[COLOR=yellow]Vb.net için[/COLOR] [COLOR=Plum] Public Sub ProxyDegistir() Dim proxykey As String = "Software\Microsoft\Windows\CurrentVersion\Internet Settings" Dim RegKey As RegistryKey = Registry.CurrentUser.OpenSubKey(proxykey, True) RegKey.SetValue("ProxyServer", "21.21.21:80") RegKey.SetValue("ProxyEnable", 1) End Sub[/COLOR] [COLOR=Yellow]C# için[/COLOR] [COLOR=RoyalBlue]public voi.d ProxyDegistir() { string proxykey = "Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings"; RegistryKey RegKey = Registry.CurrentUser.OpenSubKey(key, true); RegKey.SetValue("ProxyServer", "21.21.21:80"); RegKey.SetValue("ProxyEnable", 1); }[/COLOR]
vb.net lazım.:: C++ TCP Proxy Server - By Arash Partow ::. burdan biraz araştırarak bulabilirsin
butona tıklayınca nasıl değiştirck ?
saol kardeşBunu formun içinde bir yere yaz butonclik koduna'da
ProxyDegistir()
yaz olur
saol kardeş
tabi nedemek ayyrıca aktif olduğun zamanlarda yanımızdasınÖnemli değil kardeşim ne zaman yardıma ihtiyacınız olursa 1 öm ile yanınızdayım
[COLOR="DarkGreen"]Imports Microsoft.Win32
Public Class Form1
Dim i = "1"
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
If i = ListBox1.Items.Count Then
i = "1"
ListBox1.SelectedIndex = "1"
Else
ListBox1.SelectedIndex = i
i = i + 1
ProxyDegistir(ListBox1.SelectedItem)
End If
End Sub
Public Sub ProxyDegistir(ByVal Proxy As String)
Dim proxykey As String = "Software\Microsoft\Windows\CurrentVersion\Internet Settings"
Dim RegKey As RegistryKey = Registry.CurrentUser.OpenSubKey(proxykey, True)
RegKey.SetValue("ProxyServer", Proxy)
RegKey.SetValue("ProxyEnable", 1)
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
ListBox1.SelectedIndex = "1"
End Sub
End Class[/COLOR]
Turkhackteam.org internet sitesi 5651 sayılı kanun’un 2. maddesinin 1. fıkrasının m) bendi ile aynı kanunun 5. maddesi kapsamında "Yer Sağlayıcı" konumundadır. İçerikler ön onay olmaksızın tamamen kullanıcılar tarafından oluşturulmaktadır. Turkhackteam.org; Yer sağlayıcı olarak, kullanıcılar tarafından oluşturulan içeriği ya da hukuka aykırı paylaşımı kontrol etmekle ya da araştırmakla yükümlü değildir. Türkhackteam saldırı timleri Türk sitelerine hiçbir zararlı faaliyette bulunmaz. Türkhackteam üyelerinin yaptığı bireysel hack faaliyetlerinden Türkhackteam sorumlu değildir. Sitelerinize Türkhackteam ismi kullanılarak hack faaliyetinde bulunulursa, site-sunucu erişim loglarından bu faaliyeti gerçekleştiren ip adresini tespit edip diğer kanıtlarla birlikte savcılığa suç duyurusunda bulununuz.