[ Version ( since = "1.8" ) ]
public static bool check_key (string key) throws Error
Checks whether key
is a valid user data key.
This means, key is not null, not too large and valid ASCII. Also, only digits and numbers are allowed with a few special characters. The key must contain at least one '.' and look like a fully qualified DNS name.
key |
the key to check |
true if |