Get filename of current configuration file

前端 未结 2 1742
别跟我提以往
别跟我提以往 2021-02-06 22:35

I\'d think this would be simple, but I can\'t find an answer.

I\'m using remoting and I want to store the RemotingConfiguration in the app.config. When I call Remo

2条回答
  •  我在风中等你
    2021-02-06 23:00

    Try AppDomain.CurrentDomain.SetupInformation.ConfigurationFile

    https://docs.microsoft.com/en-us/dotnet/api/system.appdomainsetup.configurationfile

提交回复
热议问题