SOL9 2.0 Sample: CertManagerDialog

SOL9 2.0 Samples

1 Screenshot


2 Source code

/*
 * CertManagerDialog.cpp 
 * Copyright (c) 2009 Antillia.com TOSHIYUKI ARAI. ALL RIGHTS RESERVED. 
 */


#include <sol/crypt/CryptServiceProvider.h>
#include <sol/crypt/CertSystemStore.h>
#include <sol/crypt/CertManagerDialog.h>
#include <sol/Locale.h>

void _tmain(int argc, TCHAR** argv)
{
    try {
        Locale locale;

        CertManagerDialog certManagerDialog;

        if (certManagerDialog.show() == NO_ERROR) {
            _tprintf(_T("OK, CertManagerDialog.show()\n"));
        } else {
            _tprintf(_T("Failed, CertManagerDialog.show()\n"));
        }

    } catch (...) {

        printf("Exception: %x\n", GetLastError());
    }

}

Last modified: 11 Nov 2009

Copyright (c) 2009 Antillia.com ALL RIGHTS RESERVED.