تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
لمعرفه نوع نظام التشغيل و رقم اصداره بال C# و VB.net
#1
كاتب الموضوع : AhmedEssawy

لمعرفه نوع نظام التشغيل و رقم اصداره

VB

كود :
' Sample for the Environment.OSVersion property
Imports System

Class Sample
Public Shared Sub Main()
Console.WriteLine()
Console.WriteLine("OSVersion: {0}", Environment.OSVersion.ToString())
End Sub 'Main
End Class 'Sample
'
'This example produces the following results:
'
'OSVersion: Microsoft Windows NT 5.1.2600.0
'
C#

كود :
// Sample for the Environment.OSVersion property
using System;

class Sample
{
public static void Main()
{
Console.WriteLine();
Console.WriteLine("OSVersion: {0}", Environment.OSVersion.ToString());
}
}
/*
This example produces the following results:

OSVersion: Microsoft Windows NT 5.1.2600.0
*/

}}}
تم الشكر بواسطة:



التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم