←Select platform

GetCardType Method

Summary

Gets a CardType from a credit card number.

Syntax

C#
VB
Java
Objective-C
C++
public static CardType GetCardType( 
   string cardNumber 
) 
Public Shared Function GetCardType( _ 
   ByVal cardNumber As String _ 
) As Leadtools.Creditcards.CardType 
+ (LTCardType)cardTypeForCardNumber:(NSString *)cardNumber 
             
public static CardType getCardType(String cardNumber) 
             
public:  
   static CardType^ GetCardType( 
      String^ cardNumber 
   ) 

Parameters

cardNumber
The number of the card used to retrieve the CardType

Return Value

The CardType that corresponds to the card number.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.CreditCards Assembly