In case we use the common username:userpassword formats.Code:/// <summary> /// Takes argument data of the format: "username:password", where the delimiter is ':' or /// specified. /// </summary> public bool Login(string data, char delimiter = ':') { string[] tmp = data.Split(delimiter); return Login(tmp[0],tmp[1]); }![]()
Results 1 to 2 of 2
Thread: [C#] Roliana Class
Hybrid View
- 29 Jun. 2010 08:18pm #1