Results 1 to 9 of 9
  1. #1
    t7ancients's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    New York
    Posts
    381
    Reputation
    28
    Thanks
    68
    My Mood
    Twisted

    Class library with some useful functions.

    I got bored one day and decided to practice my C# skills, so I ended up putting every function I could think of into a class library. The original purpose of the dll was to process file I/O and strings, so the name doesn't exactly fit anymore, but there are tons of functions in this file that are fairly useful and simplified so newbies could use it without knowing much.
    No documentation is really needed because it's organized and simplified. If you're using this and have any questions you can totally post here or pm me. The gdi functions and mp3 function haven't been tested, and the graphics classes aren't quite implemented yet so there's no directx or opengl, just empty classes there.
    I'm open to suggestions and ideas. I'm fairly new to C# so don't flame my inefficiency.

    Virus Scan: VirusTotal - Free Online Virus, Malware and URL Scanner

  2. The Following User Says Thank You to t7ancients For This Useful Post:

    Vic3roj (02-28-2012)

  3. #2
    TheBest-1337's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    35
    Reputation
    15
    Thanks
    38
    My Mood
    Goofy
    You should write instructions on how to use them

  4. #3
    t7ancients's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    New York
    Posts
    381
    Reputation
    28
    Thanks
    68
    My Mood
    Twisted
    Intellisense lists the parameters, but I'll write up a .txt file listing each function and it's use. Nearly 2000 lines of code though, so don't expect every function to be documented for a while. -_-

  5. #4
    t7ancients's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    New York
    Posts
    381
    Reputation
    28
    Thanks
    68
    My Mood
    Twisted
    Okay, so I typed up a basic documentation. Doesn't cover everything. Some function names explain the function well enough, so I left a bit out. Also, some imported functions were left as-is.
    doc.txt is attached to this post.

  6. #5
    Hassan's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    System.Threading.Tasks
    Posts
    4,764
    Reputation
    495
    Thanks
    2,132
    My Mood
    Dead
    There's a problem in the DLL you uploaded. C# and VB.NET both are not identifying it. Don't know what's wrong.

  7. #6
    t7ancients's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    New York
    Posts
    381
    Reputation
    28
    Thanks
    68
    My Mood
    Twisted
    Quote Originally Posted by Hassan View Post
    There's a problem in the DLL you uploaded. C# and VB.NET both are not identifying it. Don't know what's wrong.
    0_o? I have no clue what would cause them to not recognize it. They were compiled to .NET 4.0, which means it's all managed, right?

  8. #7
    Hassan's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    System.Threading.Tasks
    Posts
    4,764
    Reputation
    495
    Thanks
    2,132
    My Mood
    Dead
    Quote Originally Posted by t7ancients View Post
    0_o? I have no clue what would cause them to not recognize it. They were compiled to .NET 4.0, which means it's all managed, right?
    Oh lol. I was trying it in university and the maximum framework I had here is 3.5 :/
    I'll try it when I'll get home.
    Functions List looks kewl.

    @t7ancients

  9. #8
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    You can do proper XML documentation by doing three consecutive slashes (C#) or apostrophes (VB) and when someone brings up a function it will have the documentation in intellisense. Example from my last library:

    [highlight=vb.net]
    ''' <summary>
    ''' Find the string contained between two points.
    ''' </summary>
    ''' <param name="MainStr">The string to search in.</param>
    ''' <param name="pt1">The first point to look for in 'MainStr'</param>
    ''' <param name="pt2">The second point to look for in 'MainStr'</param>
    ''' <param name="UseLastIndex">Decides whether or not to search for the last index of 'pt2'.
    ''' Optional, default False.</param>
    ''' <param name="StartFrom">Where to start searching for 'pt1' in the string.
    ''' Optional, default 0</param>
    ''' <returns>A 'StringResult' class, Value contains the string, EndIndex returns the index of the 2nd Point. Value will be empty if either point is not found.</returns>
    ''' <remarks>Hot sex.</remarks>
    [/highlight]

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  10. The Following User Says Thank You to Jason For This Useful Post:

    t7ancients (05-17-2011)

  11. #9
    t7ancients's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    New York
    Posts
    381
    Reputation
    28
    Thanks
    68
    My Mood
    Twisted
    Thanks chooka, I was wondering how to do that.