Method MaskUserInfoPassword(string)
Masks the password in userinfo of a scheme-less path/authority
(user:password → user:****). Returns the input
unchanged when there is no userinfo password.
public static string MaskUserInfoPassword(string pathOrAuthority)