when you run the executable file in NAV server the below-highlighted points should be extracted and shown in console window using Visual Studio C# code
You should start by mentioning which NAV you talk about and what it is that you are looking to do. Why Visual Studio?
Depending on which version of NAV, then it’s not C# you are looking for, but PowerShell. As of NAV 2013 you can do almost everything related to administrating and configuration your NAV NST and Web Servers.
Not a C# developer but you so dont know how to write the script but you can get config details from config file sitting in nav server . if you know c# programming then its possible to write code to get the information from the file.
I have CustomSetting.Config(xmlFile) file in Nav services which consists of all the details of Nav Configuration. So I have read the file through C# code in VS then get it in the console.
How to get the Nav Config details without reading the CustomConfig file. Is this possible to Connect directly Nav to Visual Studio and get the same details i mentioned above?