I suspect this may apply to multiple programming languages, but in this context I am referring to .NET.
When I use System.Diagnostics.Process.Start
, I can include, as an argument, a System.Diagnostics.ProcessStartInfo
object. One of the properties of ProcessStartInfo class is Verb
(type of string). There is also a string[] property of Verbs
which seems to contain the list of permitted values for Verb
.
I notice that within the Verbs
array there is a value for "Print" and a value for "PrintTo". What's the difference between the two? I tested both and they both seem to cause the file to print to my default printer.