Example #1
0
        public static string CSMaskSSN(this string value)
        {
            Masker masker = new Masker(value, "SSN");

            return(masker.Masked);
        }
Example #2
0
        public static string CSMaskCIDR(this string value)
        {
            Masker masker = new Masker(value, "ALPHANUMERICMASK");

            return(masker.Masked);
        }
Example #3
0
        public static string CSMask(this string value, Func <string, string> MaskMethod)
        {
            Masker masker = new Masker(value, MaskMethod);

            return(masker.Masked);
        }
Example #4
0
        public static string CSMaskIP(this string value)
        {
            Masker masker = new Masker(value, "IPADDRESS");

            return(masker.Masked);
        }
Example #5
0
        public static string CSMask(this string value, string ProviderCode)
        {
            Masker masker = new Masker(value, ProviderCode);

            return(masker.Masked);
        }