Skip to main content
  • 109 Accesses

Abstract

When you write code in.NET, whether in NETCF or the desktop framework, you’re creating managed code. In NETCF, managed code is created by using either C# or Visual Basic.NET as your programming language. Managed code runs under the watchful eye of the.NET runtime and is guaranteed, by the runtime, to be safe. For one thing, being “safe” means that the code you write can’t and won’t write outside your application space. The intermediate language (IL) code generated by the managed compilers is verified at runtime to be sure that the code runs safely. On the desktop, a feature called Code Access Security (CAS) makes certain that the application will only run if it has the proper execution rights on the machine running the code. While NETCF doesn’t support CAS, the runtime still does verification of the code at runtime.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Larry Roof and Dan Fergus

About this chapter

Cite this chapter

Roof, L., Fergus, D. (2003). Working with Unmanaged Code. In: The Definitive Guide to the .NET Compact Framework. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-0789-4_17

Download citation

  • DOI: https://doi.org/10.1007/978-1-4302-0789-4_17

  • Publisher Name: Apress, Berkeley, CA

  • Print ISBN: 978-1-59059-095-9

  • Online ISBN: 978-1-4302-0789-4

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics