COM Calling C# Security Issue
From: Matthew Wieder (Development_at_SatoriGroupInc.com)
Date: 03/30/04
- Next message: Nicholas Paldino [.NET/C# MVP]: "Re: IDiskQuotaControl"
- Previous message: Nicholas Paldino [.NET/C# MVP]: "Re: Weird behaviour when working with strings."
- Next in thread: Nicholas Paldino [.NET/C# MVP]: "Re: COM Calling C# Security Issue"
- Reply: Nicholas Paldino [.NET/C# MVP]: "Re: COM Calling C# Security Issue"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 30 Mar 2004 11:57:41 -0500
We have a C# class which creates a TCP connection to another machine.
We registered that .NET class for COM use, and when we call it via COM
(it happens to be via VBA, but that shouldn't matter) the code fails
when it tries to create the new tcp connection, with a "Request for the
permission of type System.Net.SocketPermission ... failed" message.
Could someone explain what exactly the issue is and how we can solve it?
thanks!
- Next message: Nicholas Paldino [.NET/C# MVP]: "Re: IDiskQuotaControl"
- Previous message: Nicholas Paldino [.NET/C# MVP]: "Re: Weird behaviour when working with strings."
- Next in thread: Nicholas Paldino [.NET/C# MVP]: "Re: COM Calling C# Security Issue"
- Reply: Nicholas Paldino [.NET/C# MVP]: "Re: COM Calling C# Security Issue"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|