Results 1 to 12 of 12

Thread: .exe C# ?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

  2. #2
    The Conquerer I Be RazorJack's Avatar
    Join Date: Jul:2001
    Location:
    Posts: 3,108

  3. #3
    Registered User
    Join Date: Jan:2009
    Location: Varna
    Posts: 27
    . C# , C++ . web .
    web , Regular Expressions, , . o, , .
    Last edited by DreamInvader; 27th January 2009 at 00:40.

  4. #4
    Registered User
    Join Date: Aug:2006
    Location:
    Posts: 4,052
    - RE

  5. #5
    rogozen's Avatar
    Join Date: Nov:2005
    Location:
    Posts: 357

  6. #6
    Registered User 's Avatar
    Join Date: Feb:2006
    Location:
    Posts: 653
    Code:
    private static int x;
    
    public static void CheckSupport(string inputString, string a)
    {
        Thread.Sleep(60);
        string pattern = a;
        if (Regex.Match(inputString, pattern, RegexOptions.Compiled | RegexOptions.IgnoreCase).Success)
        {
            Console.WriteLine("String Was Found!");
        }
        else
        {
            Console.WriteLine("String Was NOT Found!");
        }
    }
    
    public static void Main()
    {
        string address = "https://shop.playrohan.com/Exchange/Character_Sale_List.html";
        Console.WriteLine("Use https://shop.playrohan.com/Exchange/Character_Sale_List.html As Site?");
        Console.WriteLine("Y for Yes | N for no");
        if (Console.ReadLine() == "N")
        {
            Console.WriteLine("Enter Website Now");
            address = Console.ReadLine();
        }
        Console.WriteLine("Enter String");
        string a = Console.ReadLine();
        WebClient client = new WebClient();
        x = 1;
        while (x == 1)
        {
            StreamReader reader = new StreamReader(client.OpenRead(address));
            string inputString = reader.ReadToEnd();
            reader.Close();
            CheckSupport(inputString, a);
        }
    }
    
    ,    ...

  7. #7
    ɐ-əpoɔᴉu⋂ ɐ ə anrieff's Avatar
    Join Date: Apr:2004
    Location: Sofia
    Posts: 8,448
    ( Regex-):

    Code:
    #!/usr/bin/python
    
    import urllib, re
    
    URL = "https://shop.playrohan.com/Exchange/Character_Sale_List.html"
    
    data = urllib.urlopen(URL).readlines()
    
    print "Enter String"
    
    ex = re.compile(raw_input())
    for line in data:
    	if ex.search(line):
    		print "String Was Found!"
    , . .
    "640K ught to be enough for anybody" - Bill Gates, 1981
    ::Machine specs::Fract::AGG::::Baileys::blog::YouTube channel

  8. #8
    rogozen's Avatar
    Join Date: Nov:2005
    Location:
    Posts: 357
    Quote Originally Posted by anrieff View Post
    ( Regex-):

    Code:
    #!/usr/bin/python
    
    import urllib, re
    
    URL = "https://shop.playrohan.com/Exchange/Character_Sale_List.html"
    
    data = urllib.urlopen(URL).readlines()
    
    print "Enter String"
    
    ex = re.compile(raw_input())
    for line in data:
    	if ex.search(line):
    		print "String Was Found!"
    anrieff,

  9. #9
    Registered User
    Join Date: Jan:2009
    Location: Varna
    Posts: 27
    , RedGate Reflector-, , , ..,

    , . .- !


  10. #10
    Registered User 's Avatar
    Join Date: Feb:2006
    Location:
    Posts: 653
    Quote Originally Posted by DreamInvader View Post
    , RedGate Reflector-, , , ..,

    , . .- !

    Reflector-a . .

    , . / , .
    Last edited by ; 27th January 2009 at 02:17.

  11. #11
    Registered User
    Join Date: Jan:2009
    Location: Varna
    Posts: 27
    , . , :P
    ICQ, , .

    anrieff , ?
    Last edited by DreamInvader; 27th January 2009 at 05:42.

  12. #12
    Registered User
    Join Date: Aug:2006
    Location:
    Posts: 4,052
    anrieff

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |