⏩ OldSchoolKO ✅ | " VALHALLA " 2.000.000 TL ÖDÜL ⭐ 3 YIL ARADAN SONRA ✅ v.1098 MYKO EFSANESİ ⚔ OFFICIAL 17.05.2024 - 21:00 ⏪
Cuceko

C#.NET Knight Online ChatLog Okuma Fonksiyonu

  •         

            

            

            

            

  • HyperFilter | DoS Protection | DDoS Protection | DoS Mitigation | DDoS Mitigation | AntiDoS | AntiDDoS | Proxy Shielding
Q Çevrimdışı

QuickSilver

Yeni Cüce
14 Mart 2012
12
4
3
27
Bir Önceki Paylaştığım Fonksiyonla Klasörde Bulunan ChattingLog DeathLog gibi dosya isimlerini listeye çekebiliyorduk.

o fonksiyonu kullanırsanız + bunuda kullanırsanız harika bir chatlogoku ma fonksiyonunuz olur :)



Bir Önceki Konu Linki : Üstüme Tıklarsan Bir Önceki Konuya Gidersin.



İçerik Açılmıştır Teşekkürler :)
Kod:
private void ChatLogOku(ListBox Isimliste,ListBox Logliste,string path)

        {

            Logliste.Items.Clear();

            Logliste.Items.Add("Seçilen Dosyanın Ismi :" + " " + Isimliste.SelectedItem);

            FileStream fs = new FileStream(path + "\\" + Isimliste.SelectedItem, FileMode.Open);

            StreamReader sr = new StreamReader(fs);

            while (!sr.EndOfStream)

            {

                string s = sr.ReadLine();

                string[] tokens = s.Split(',');

                Logliste.Items.Add(tokens[1]);

            }

            sr.Close();

        }
 
S Çevrimdışı

SPAWN

Kayıtlı Üye
18 Eylül 2012
198
0
16
30
bakalım yorum atarız sonra



Edit:



kaldığı yerden devam etme olmadığı için log 1mb olduğu anda program patlar