Appendix A. The Credit Card Validation Library

CreditCardValidation.dll

In the examples in this book, we have used the CreditCardValidation.dll library to build XML Web services that validate credit card numbers. We have taken this approach to concentrate on the subject of each chapter and to simplify the projects that you have created.

In this appendix, we explain how credit card numbers are validated and detail the code statements of the CreditCardValidation.dll library. Reading this appendix is not essential for you to understand the rest of this book. We provide this information for the curious-minded reader.

You might notice that the code we list in this appendix is not optimized; we have striven for clarity over performance. Unlike the rest ...

Get Microsoft® .NET XML Web Services Step by Step now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.