Hi, is there a library that checks against the types I stated above? It doesn't matter if it's C# C++ another library. These are data types used by a download manager / bittorrent client.
ADDR INTERFACE METALINK_FILE PID SIZE VALUE COMMAND INTERFACES METHOD POLL TAG VERSION DIGEST IPADDRESS METHOD PORT TOKEN [=SIZE],tail[=SIZE] DIR IPADDRESS[,...] MINUTES PORT... TORRENT_FILE [true|false] DSCP KEYWORD N PROTO TYPE [true|false|A:B] FILE LANGUAGE NUM PROXY TYPE plain|arc4 GID LENGTH OPT RATIO URI true|false HEADER LEVEL OS REFERER URI[,...] true|false|mem HOST:PORT LOCATION[,...] PEER_AGENT SEC USER * INDEX... LOG PEER_ID_PREFIX SELECTOR USER_AGENT *
EDIT: What I need is ex. if I want to validate against IPADDRESS these must return true;
Code:string: 233.93.15.1 - returns true string: 353.93.15.1 - returns true string: 15.25 - returns false
if I want it to validate DIR this must happen.
Code:string: C:\Program Files\7-Zip\ - returns true string: D:\music\michael_jackson\ - returns true string: D/mp3 - returns false




Reply With Quote
