SpringCore Tools misc. options

All SpringCore Tools share a few common parameters and options.

–banner

Show the tool’s banner

SpringCoreTool.exe --banner

This shows for instance:

 _____         _         _____             _____         _
|   __|___ ___|_|___ ___|     |___ ___ ___|_   _|___ ___| |
|__   | . |  _| |   | . |   --| . |  _| -_| | | | . | . | |
|_____|  _|_| |_|_|_|_  |_____|___|_| |___| |_| |___|___|_|
      |_|           |___|

–version

Show the version of SpringCore Tool and SpringCore Direct library

SpringCoreTool.exe --version

This shows for instance

SpringCoreTool version 20.11
Build: 20.11.7650.16219, using SpringCoreDirect.dll 20.11.7649.25030
Copyright © SpringCard SAS, France, 2019-2020 all rights reserved

Note: all the tools, not only SpringCoreTool.exe*, implement the* version command, but they may all have a different build number.

–versions

Show the version of all .NET libraries in the current directory

SpringCoreTool.exe --versions

This shows for instance

SpringCoreTool version 20.11
Build: 20.11.7650.16219, using SpringCoreDirect.dll 20.11.7649.25030
Copyright © SpringCard SAS, France, 2019-2020 all rights reserved

BouncyCastle.Crypto: 1.8.18223.1
LibUsbDotNet.LibUsbDotNet: 2.2.29.55645
SpringCard.Bluetooth: 20.2.7641.28404
SpringCard.LibCs.Crypto: 1.0.0.0
SpringCard.LibCs: 20.9.7641.31077
SpringCard.LibCs.GetText: 1.0.0.0
SpringCard.LibCs.Translations: 19.3.7641.31077
SpringCard.LibCs.Windows: 20.8.7641.28403
SpringCard.PCSC.CardHelpers: 19.2.7641.28406
SpringCard.PCSC.CardHelpers.SamAV: 19.11.7641.28407
SpringCard.PCSC: 19.10.7641.28405
SpringCard.SmartReader.Data: 19.11.7646.29062
SpringCard.SpringCore.Direct: 20.11.7649.25030
SpringCard.WinUSB: 19.8.7649.17711

Note: all the tools, not only SpringCoreTool.exe*, implement the* versions command, but they may all have a different build number.

–no-console-colors

Don’t use colors in output messages

Use this parameter to suppress colors from the output messages in the console, for improved readibility on monochrom terminals

SpringCoreTool.exe --no-console-colors

–verbose

Enable verbose messages

Use this parameter to activate trace / debug messages

SpringCoreTool.exe --verbose[=LEVEL]

Supported values for the LEVEL parameter are

  • 0 : hide most messages
  • 1 : show error messages
  • 2 : show error and warning messages
  • 3 : show error, warning and information messages
  • 4 : show error, warning, information and detailed trace messages
  • 5 : show error, warning, information, detailed trace and detailed debug messages
  • 6 : show all messages

Pay attention that enabling verbose messages dramatically slows down the execution of the tools.

–verbose-time

Show execution time in verbose messages

Use this parameter to add the current time (UTC) in the verbose messages, for profiling

SpringCoreTool.exe --verbose-color

–verbose-context

Show full execution context in verbose messages

Use this parameter to add the detailed execution context in the verbose messages, for advanced debugging and profiling

SpringCoreTool.exe --verbose-context

–no-verbose-colors

Don’t use colors in verbose messages

Use this parameter to suppress colors from the verbose messages, for improved readibility on monochrom terminals

SpringCoreTool.exe --no-verbose-colors