my Proxies Resource has this in itCode:using System; using System.Collections.Generic; using System.Text; using System.Resources; namespace Proxy { class Program { static void Main(string[] args) { ProxyInfo[] Proxy = new ProxyInfo(); foreach (string p in Resource.Proxies) { } } } public struct ProxyInfo { private string Username; private string Password; private string Address; private short Port; private int Type; public string Username { get { return Username; } set { Username = value; } } public string Password { get { return Password; } set { Password = value; } } public string Address { get { return Address; } set { Address = value; } } public short Port { get { return Port; } set { Port = value; } } public int Type { get { return Type; } set { Type = value; } } } }
I am trying to get it so it's like Proxy[p].Username, password, etc... I can't seem to figure out how to split up the line effectively and assign it to the array. I also wanted to make an Enumerator for SOCKSv4, SOCKSv4a, SOCKSv5 for the Type Property but i couldn't get that to work out either.Code:201.12.189.79:1080@SOCKS4 71.206.139.211:5219@SOCKS4 24.147.237.50:10961@SOCKS4 59.148.66.123:32167@SOCKS4 59.30.182.9:4769@SOCKS4 69.242.39.99:5740@SOCKS5 201.12.150.87:1080@SOCKS5 24.147.237.50:10961@SOCKS5 201.53.226.112:1080@SOCKS5 68.188.194.36:5882@SOCKS5
Thanks for the help
- Joel




Reply With Quote