How can I "read" configuration settings in defalult.json at runtime?

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
0
0

Hi guys,

As the title goes, how can I read for example the “debug” setting from the default.json file so that I execute different code depending on whether the flag is true or false? I want to use this as a better approach for the “#if DEBUG … #endif” instruction in code which relates to the Release/Debug compiling mode.

Best,
Alex

  • You must to post comments
0
0

Hi Alex,

it´s available as Application.Configuration.Debug

Best regards
Frank

  • You must to post comments
Showing 1 result
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 5, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json