log4net SDK Reference |

# SystemInfo.GetAppSetting Method

Lookup an application setting

[Visual Basic]
Public Shared Function GetAppSetting( _
ByVal key As String _
) As String
[C#]
public static string GetAppSetting(
string key
);

#### Parameters

key
  the application settings key to lookup

#### Return Value

the value for the key, or `null`

#### Remarks

Configuration APIs are not supported under the Compact Framework

#### See Also

SystemInfo Class | log4net.Util Namespace