Final library vin
This commit is contained in:
@@ -248,29 +248,6 @@ namespace VIN_LIB
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
/*public static bool CheckVIS(string vin)
|
|
||||||
{
|
|
||||||
if (string.IsNullOrEmpty(vin) || vin.Length < 17)
|
|
||||||
return false;
|
|
||||||
|
|
||||||
for (int i = 13; i < 17; i++)
|
|
||||||
{
|
|
||||||
if (!char.IsDigit(vin[i])) return false;
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
public static bool CheckVIN(string vin)
|
|
||||||
{
|
|
||||||
if (string.IsNullOrEmpty(vin) || vin.Length < 17)
|
|
||||||
return false;
|
|
||||||
if(!CheckWMI(vin))
|
|
||||||
return false;
|
|
||||||
if (!CheckVDS(vin))
|
|
||||||
return false;
|
|
||||||
if (!CheckVIS(vin))
|
|
||||||
return false;
|
|
||||||
return true;
|
|
||||||
}*/
|
|
||||||
|
|
||||||
public static bool CheckVIN(string vin)
|
public static bool CheckVIN(string vin)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user