Hi, > I've got a program written in MS C# compiler, when running with Mono > under Linux how can I check that am running the program under Linux > within my program?
Simple way (which should work) System.Environment.OSVersion and System.Environment.Version OSVersion should return Unix (and the kernel version) and Version the kernel version TTFN Paul -- Biggles was quietly reading his favourite book when Algy burst through the door. Distracted for a moment, Biggles surveyed what had happened and turned a page. "Algy old man" he said, clearing his throat, "use the handle next time..." - Taken from "Biggles combs his Hair"
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
