---
title: "What is Interop Services?"  
description: "What is Interop Services?"  
author: "Rajesh Goswami"  
published: 2010-11-09  
updated: 2020-09-23  
canonical: https://www.mindstick.com/interview/216/what-is-interop-services  
category: ".net"  
tags: [".net"]  
reading_time: 1 minute  

---

# What is Interop Services?

The common language runtime(CLR) provides two mechanisms for interoperating with unmanaged code: \
\
• Platform invoke, which enables managed code to call functions exported from an unmanaged library. \
• COM interop, which enables managed code to interact with COM objects through interfaces. \
\
Both platform invoke and COM interop use interop marshaling to accurately move method arguments between caller and callee and back, if required.\
\

## Answers

### Answer by Anurag Sharma

The **InteropServices** namespace provides a wide variety of members that support COM interop and platform invoke services.

### Answer by Rajesh Goswami

The common language runtime(CLR) provides two mechanisms for interoperating with unmanaged code: \
\
• Platform invoke, which enables managed code to call functions exported from an unmanaged library. \
• COM interop, which enables managed code to interact with COM objects through interfaces. \
\
Both platform invoke and COM interop use interop marshaling to accurately move method arguments between caller and callee and back, if required.\
\


---

Original Source: https://www.mindstick.com/interview/216/what-is-interop-services

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
