turkoglu98 Posted June 20, 2015 Share Posted June 20, 2015 arkadaşlar bir programım için sistemin (xp win7 , win8 yada win10 lardan biri) ne olduğunu algılatmam gerekti win7 ve xp de sorunsuz çalışan bir koum var ama win8 e gelince boş gösteriyor win10 de de aynı hatayı verdi. windows8 i de algıtamam için ne yapabilirim arkadaşlar buldum ostype = Registry.GetValue(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows NT\\CurrentVersion", "ProductName", true); bu mesela "Windows 8.1 Pro" diye sonuç veriyor ben programımda şu kodu kullanıcam osver = Registry.GetValue(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows NT\\CurrentVersion", "CurrentVersion", true); buda XP ile "5.1" windows 7 ise "6.1" windows 8 ise "6.3" sonucunu veriyor Quote Link to comment Share on other sites More sharing options...
KintaRo Posted June 26, 2015 Share Posted June 26, 2015 bu kodlarla windows ismini alabilirsiniz info = System.GetOSName(); Dialog.Message("", info); Quote Link to comment Share on other sites More sharing options...
fatih29 Posted March 12, 2018 Share Posted March 12, 2018 ip= File.Run(_SystemFolder.."\\cmd.exe", "wmic csproduct get name","", SW_HIDE, false); Dialog.Message("İp Adresiniz : ",ip) bu adresi cmd den nasıl cekebiliriz ekran=Registry.SetValue(HKEY_LOCAL_MACHINE,"HARDWARE\\DESCRIPTION\\System\\BIOS","SystemProductName",false); Label.SetText("Label20", ekran); bu adres hata veriyor veri çekemiyorum anakart bilgisi nasıl çekebilirim true veya false yi denedim olmadı Quote Link to comment Share on other sites More sharing options...
usamakey Posted March 13, 2018 Share Posted March 13, 2018 Quote arkadaşlar bir programım için sistemin (xp win7 , win8 yada win10 lardan biri) ne olduğunu algılatmam gerekti win7 ve xp de sorunsuz çalışan bir koum var ama win8 e gelince boş gösteriyor win10 de de aynı hatayı verdi. windows8 i de algıtamam için ne yapabilirim arkadaşlar buldum ostype = Registry.GetValue(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows NT\\CurrentVersion", "ProductName", true); bu mesela "Windows 8.1 Pro" diye sonuç veriyor ben programımda şu kodu kullanıcam osver = Registry.GetValue(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows NT\\CurrentVersion", "CurrentVersion", true); buda XP ile "5.1" windows 7 ise "6.1" windows 8 ise "6.3" sonucunu veriyor SO = Registry.GetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion", "ProductName", true) Version = Registry.GetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion", "CurrentVersion", true) Architecture_SO = System.Is64BitOS(); if Architecture_SO ==false then Architecture_SO_S = "32 bits"; end if Architecture_SO ==true then Architecture_SO_S = "64 bits"; end Label.SetText("Sistema", "Operating System: "..SO.. ""); Label.SetText("Architecture", "Architecture: "..Architecture_SO_S.. ""); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.