Class PhoneHelper
That is an helper to validate phone number. Is use the PhoneLibSharp library
Inheritance
System.Object
PhoneHelper
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: SecureExchangesSDK.Helpers
Assembly: SecureExchangesSDK.dll
Syntax
public static class PhoneHelper
Methods
InitializeInstance()
Just use to initialized the time cosuming instance of PhoneNumbers
Declaration
public static void InitializeInstance()
ValidatePhoneNumber(String, String, String, out String)
Validate the phone number
Declaration
public static bool ValidatePhoneNumber(string region, string countryCode, string phoneNumber, out string finalPhoneNumber)
Parameters
Type | Name | Description |
---|---|---|
System.String | region | |
System.String | countryCode | |
System.String | phoneNumber | |
System.String | finalPhoneNumber |
Returns
Type | Description |
---|---|
System.Boolean |