Results 1 to 8 of 8
  1. Collapse Details
    someone help me baby coding .net 
    #1
    internet super thug elezzark's Avatar
    Join Date
    Apr 2012
    Posts
    805
    how do I make my proxies auto refresh every certain interval, i also have ProxyRefresh as a link label

    Code:
        Public Sub RefreshProxies()
            Try
                Dim oldCount As Integer = Proxies.Count
                Proxies.Clear()
                If Not File.Exists(My.Settings.ProxySource) Then
                    Using http As New Net.WebClient
                        Dim r As String = http.DownloadString(New Uri(My.Settings.ProxySource))
                        If Regex.IsMatch(r, "[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\:[0-9]{1,5}") Then
                            For Each m As Match In Regex.Matches(r, "[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\:[0-9]{1,5}")
                                Dim url As String = m.Groups(0).ToString
                                Proxies.Add(url)
                            Next
                            Proxies = Proxies.Distinct.ToList
                        End If
                    End Using
                Else
                    Proxies.Clear()
                    Proxies = File.ReadAllLines(My.Settings.ProxySource).ToList
                    ProxyCount.Text = Proxies.Count.ToString("N0")
                End If
            Catch ex As Exception
                Debug.Print(ex.Message)
            Finally
                ProxyCount.Text = Proxies.Count.ToString("N0")
            End Try
        End Sub
    Reply With Quote
     

  2. Collapse Details
     
    #2
    ᕦ(ò__ó)ᕤ rootbeer's Avatar
    Join Date
    Dec 2011
    Location
    Iron Hands fried chicken Chiang Mai technical college
    Posts
    11,875
    Ok, well that's clearly a blue box thingy with some words and numbers on it. I've seen a couple like it before.
    Reply With Quote
     

  3. Collapse Details
     
    #3
    my weapons turn me into a m0nde's Avatar
    Join Date
    Dec 2011
    Location
    every once in a while
    Posts
    29,860
    you need to ask elezzzark about hacker shit like that, bRO

    Reply With Quote
     

  4. Collapse Details
     
    #4
    internet super thug elezzark's Avatar
    Join Date
    Apr 2012
    Posts
    805
    bump for elz
    Reply With Quote
     

  5. Collapse Details
     
    #5
    my weapons turn me into a m0nde's Avatar
    Join Date
    Dec 2011
    Location
    every once in a while
    Posts
    29,860
    that guy will probably not help you because he's too busy hacking

    Reply With Quote
     

  6. Collapse Details
     
    #6
    Muscle Furry 12 inch Dick juji's Avatar
    Join Date
    Dec 2011
    Posts
    17,977
    I dont use .net
    Reply With Quote
     

  7. Collapse Details
     
    #7
    Muscle Furry 12 inch Dick juji's Avatar
    Join Date
    Dec 2011
    Posts
    17,977
    However, you should find a reference about set every seconds and refresh action, then reset default variables
    Reply With Quote
     

  8. Collapse Details
     
    #8
    my weapons turn me into a m0nde's Avatar
    Join Date
    Dec 2011
    Location
    every once in a while
    Posts
    29,860
    ^ hacker

    Reply With Quote
     

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •