Method

Get

Attempts to find a value with the given key for the current application’s default configuration.

Cfg.Get("key")

Save

Save a keyvalue configuration element object to the appsetings.If newkey is existed in the collection,modifie it,otherwise add new keyvalue to the collection.

  • newKey:key
  • newValue:value
    Cfg.Save("key","value")