HDF.PInvoke icon indicating copy to clipboard operation
HDF.PInvoke copied to clipboard

Getting the native path from app settings can fail with NullReferenceException

Open JanWosnitza opened this issue 7 years ago • 0 comments

See #112 for details.

ConfigurationManger.AppSettings[ ... ]:

  • returns null when the key doesn't exist
  • the return type is string, so the ToString() doesn't do anything except throwing NullReferenceException

JanWosnitza avatar Mar 08 '17 15:03 JanWosnitza