Windows API now in .NET Framework.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Pastia Radu

    #1

    Windows API now in .NET Framework.

    I read that most of the API functions are now in the .NET Framework . In VB6
    i had an application that showed me all the functions, split into
    categories, including an example of usage for each. Where can I find a
    smililar thing for .NET ? For example , i need the free space from a HDD,
    how do I find the function that returns this ?


  • Jeff Levinson [mcsd]

    #2
    Windows API now in .NET Framework.

    I would say that less than half of the windows api is
    encapsulated in .net 1.1. While MS has gone to great
    lengths to continue incorporating the win api functions
    in the framework in each successive release it isn't
    close to all being there yet.

    I'm not sure what application you're talking about, but
    for my part I continue to use the WinAPI viewer
    application that is distributed with VB6.

    For the type of information you're looking for, use the
    WMI .net framework library. To do this, add a reference
    to the System.Manageme nt library and you'll have access
    to all the information that the WMI has access to.

    Jeff Levinson

    Author of "Building Client/Server Applications with
    VB.NET: An Example Driven Approach"

    [color=blue]
    >-----Original Message-----
    >I read that most of the API functions are now in[/color]
    the .NET Framework . In VB6[color=blue]
    >i had an application that showed me all the functions,[/color]
    split into[color=blue]
    >categories, including an example of usage for each.[/color]
    Where can I find a[color=blue]
    >smililar thing for .NET ? For example , i need the free[/color]
    space from a HDD,[color=blue]
    >how do I find the function that returns this ?
    >
    >
    >.
    >[/color]

    Comment

    Working...