Skip to content

Unmanaged resource

upendra singh

Asked Jun 19, 2006, 10:02 AM EDT1 answer
Share
LinkedInX
As all of you know that operating system file and network connection all are unmanaged resource can anyone tell me that why these are unmanged how we can decide that this is managed and this is unmangaed or CLR will decide this.

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    Any application that runs/executes under the Common Language Runtime (.NET Framework) is said to be a managed application. This doesn't mean that .NET applications can't use the Unmanaged resources. Like for e.g. a COM component can be easily used in a .NET application. This happens in background with the help of the RCW(Runtime callable Wrapper), which marshals calls between the .NET code to the Unmanaged COM component.

    Ultimately every code whether managed/unmanaged gets converted to the native code.
    0