SOL9 Sample: CertManagerDialog

SOL9 2.0 Samples

1 Screenshot


2 Source code

/*
 * CertManagerDialog.cpp 
 * Copyright (c) 2015 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: 2 May 2016

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