SECVPN.NET C++ Example

SECPay provides this code as an example for the user to read. No warranties of any kind are offered for it's use

The following is a C++ program to make use of the SECVPN .NET Assembly


#using <mscorlib.dll>
#using <SECVPN-Win32.dll>
#using <vjslib.dll>

using namespace System;
using namespace System::Reflection;
using namespace com::secpay::secvpn;

int main() {
	SECVPNInterface* secvpn = SECVPNLoad::load();
	Console::Write( secvpn->validateCardFull("secpay","secpay","nettest","1.2.3.4",
		".NET test", "4444333322221111", "10.00", "0505", "", "", "", "", "", 
		"test_status=true,dups=false") );
}