c# - Is there a way to read the command line parameters from a library? -


i want equivalent of string[] args in library several layers down main exe. there anyway this? don't see obviuos.

use this:

string[] args = environment.getcommandlineargs(); 

Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -