Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8924407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T07:24:19+00:00 2026-06-15T07:24:19+00:00

I have a third-party unmanaged program as a part of my application. I have

  • 0

I have a third-party unmanaged program as a part of my application. I have a managed C# application as well which is an “entry point” for the system. It ensures that the unmanaged program can only be run properly if certain conditions are met.

I’d like to have the C# application run the unmanaged program in a sandbox so that a particular file isn’t directly read from or written to the hard drive; instead the C# app needs to process it and then feed the file to the 3rd-party application or save it to the disk.

I’ve looked into using the AppDomain class of C# but I believe only managed code can be run by it. Is there an alternative system for what I’m trying to accomplish?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T07:24:23+00:00Added an answer on June 15, 2026 at 7:24 am

    Pretty sure you can’t really run an unmanaged program in a C# sandbox, save for writing an unmanaged emulator in C# and running the unmanaged executable in that. And it’d be slow to run and hard to write so you probably don’t want to go that route.

    The only way I could see this working would be if the unmanaged program called a C# wrapper for the file system. Do you have the source code for the unmanaged program?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a third-party, closed source application that exports a COM interface, which I
We have a third party library that internally uses a SafeHandle to an unmanaged
I have a project in C#, which references unmanaged third-party DLL (which is ChilkatDotNet2.dll
I have a third party program which basically allows users to send email and
I have a third party application that requires a 'POP 3 connection string'. I'd
We have a third party application that accept calls using an XML RPC mechanism
I have a third-party application that's extensible by adding exe-files that perform dataconversion etc.
I have a third-party jar file that comes with the javadocs for only part
I have a third party script that is including jquery (which causes things to
I have to use third party, unmanaged COM dll into my .NET application. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.