Arama sonuçlarınız

  1. Falcon

    Güncel C# USB VendorID / ProductID Öğrenme

    using System.Management; var searcher = new ManagementObjectSearcher( "SELECT * FROM Win32_PnPEntity WHERE DeviceID LIKE '%USB%'" ); foreach (var device in searcher.Get()) { Console.WriteLine(device["DeviceID"]); }
  2. Falcon

    Güncel C# COM Porttan Veri Okuma

    using System.IO.Ports; SerialPort port = new SerialPort("COM3", 9600); port.Open(); string data = port.ReadLine(); Console.WriteLine(data); port.Close();
  3. Falcon

    Güncel C# USB Flash Bellek Listeleme

    using System.IO; foreach (DriveInfo drive in DriveInfo.GetDrives()) { if (drive.DriveType == DriveType.Removable) { Console.WriteLine("USB: " + drive.Name); } }
  4. Falcon

    Güncel C# USB Takılma–Çıkarılma Dinleme (Windows)

    using System.Management; ManagementEventWatcher watcher; void USBListener() { watcher = new ManagementEventWatcher(); watcher.Query = new WqlEventQuery( "SELECT * FROM Win32_DeviceChangeEvent WHERE EventType = 2 OR EventType = 3" ); watcher.EventArrived += (s, e) =>...
  5. Falcon

    Güncel Css Menü Örneği

    .menu { display: flex; list-style: none; background: #222; } .menu li a { color: white; padding: 15px; text-decoration: none; } .menu li a:hover { background: #444; }
  6. Falcon

    Güncel Responsive (Mobil Uyumlu)

    @media (max-width: 768px) { .container { flex-direction: column; } }
  7. Falcon

    Güncel Css Modern Yuvarlak Button

    .btn-modern { padding: 12px 25px; background: linear-gradient(45deg, #ff416c, #ff4b2b); color: #fff; border-radius: 25px; border: none; transition: 0.3s; } .btn-modern:hover { transform: scale(1.05); }
  8. Falcon

    Güncel Css Metin Stilleri

    body { font-family: Arial, sans-serif; background-color: #f5f5f5; } h1 { color: #333; text-align: center; } p { font-size: 16px; line-height: 1.6; color: #666; }
  9. Falcon

    İndir Terminator 2D NO FATE Full Torrent

    “Terminatör 2: Kıyamet Günü” filminde yaşananların görkemli piksel çizimleri ve aksiyon dolu arcade oynanış stiliyle hayat bulmuş hâlini deneyimle! Sarah Connor ve T-800 olarak, T-1000’e meydan okumalarını ve insan ırkı ortadan kaldırılmadan önce Skynet’in planlarını durdurmaya çalışmalarını...
  10. Falcon

    İndir PIONER Full Torrent İndir

    Bir MMO oyunu olan PIONER , oyuncu odaklı hikaye anlatımına ve sosyal etkileşime önem vererek hem PvE hem de PvP deneyimleri sunuyor. Oyuncular, hikaye odaklı görevlere veya fraksiyon görevlerine katılabilir; çeşitli gruplarla sadakat kurarak ödüller ve ek anlatı içeriği elde edebilirler. Diğer...
  11. Falcon

    Güncel C# Bir metinde ki Tarih Formatını bulma

    using System; using System.Text.RegularExpressions; class Program { static void Main() { string input = "Merhaba, bugün 2026-01-04!"; string pattern = @"\d{4}-\d{2}-\d{2}"; // YYYY-MM-DD formatını arar Match match = Regex.Match(input, pattern); if...
  12. Falcon

    İndir Youtube Mp3 İndirme Eklentisi

    Merhaba Değerli Arkadaşlar Youtube için Geliştirmiş Olduğum Opera + Google Chrome için Youtube Mp3 İndirme Eklentisi. Buradan İndir
  13. Falcon

    Güncel C# ProgressBar ile Dosya İndirme (WinForms)

    async Task DownloadWithProgress(string url, string path, ProgressBar bar) { using HttpClient client = new HttpClient(); using HttpResponseMessage response = await client.GetAsync(url, HttpCompletionOption.ResponseHeadersRead); long total =...
  14. Falcon

    Güncel C# URL’den Dosya İndirme

    using System.Net.Http; async Task DownloadFileAsync(string url, string savePath) { using HttpClient client = new HttpClient(); byte[] data = await client.GetByteArrayAsync(url); await File.WriteAllBytesAsync(savePath, data); } Kullanımı : await DownloadFileAsync(...
  15. Falcon

    Güncel C# ProgressBar ile Dosya Boyutu Okuma

    FileInfo fi = new FileInfo(path); progressBar1.Maximum = 100; long total = fi.Length; long read = 0; using FileStream fs = File.OpenRead(path); { byte[] buffer = new byte[4096]; int bytes; while ((bytes = fs.Read(buffer, 0, buffer.Length)) > 0) { read += bytes...
  16. Falcon

    Güncel C# Zip Dosyası İçindeki Dosyaların Boyutu

    using System.IO.Compression; long GetZipSize(string zipPath) { long size = 0; using ZipArchive zip = ZipFile.OpenRead(zipPath); foreach (var entry in zip.Entries) size += entry.Length; return size; }
  17. Falcon

    Güncel C# Network (URL) Dosya Boyutu Alma

    using System.Net; long GetRemoteFileSize(string url) { HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url); req.Method = "HEAD"; using var res = (HttpWebResponse)req.GetResponse(); return res.ContentLength; }
  18. Falcon

    Güncel C# Sürücü (Disk) Boş / Dolu Alan Bilgisi

    DriveInfo drive = new DriveInfo("C"); long total = drive.TotalSize; long free = drive.AvailableFreeSpace; MessageBox.Show( $"Toplam: {total / 1024 / 1024} MB\nBoş: {free / 1024 / 1024} MB");
  19. Falcon

    Güncel C# Dosya Seçtirerek Boyut Alma (OpenFileDialog)

    OpenFileDialog ofd = new OpenFileDialog(); if (ofd.ShowDialog() == DialogResult.OK) { FileInfo fi = new FileInfo(ofd.FileName); MessageBox.Show($"{fi.Length} byte"); }
  20. Falcon

    Güncel C# Async (Dosya Kilitlemeden Boyut Alma)

    async Task<long> GetFileSizeAsync(string path) { return await Task.Run(() => { using FileStream fs = new FileStream( path, FileMode.Open, FileAccess.Read, FileShare.ReadWrite); return fs.Length; }); } Kullanımı : long size = await...
Geri
Üst