Re: API Call vs Security
Next message: DapperDanH_at_nospam.nospam: "Re: C# eqivalent of VB6 createobject or getobject"
Date: Wed, 25 Aug 2004 18:38:48 +0200
>If in an Windows Forms application I make a call to an Windows API (in this
>case from gdi), Me or the user of the application, need to configure some
>security issue?
You need permission to call unmanaged code, something that's typically
granted only to fully trusted code that executes from the local
machine, and not from a network share or is downloaded from web.
Mattias
--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Next message: DapperDanH_at_nospam.nospam: "Re: C# eqivalent of VB6 createobject or getobject"
Relevant Pages
- Re: Marshal class and security
... have some transparence routines like MaskBlt of GDI ... >> I have to use Marshal class to make some bitmap manipulations work ... >> What security I need in order to make it work? ... This is a permission that a program run from disk has, ... (microsoft.public.dotnet.security) - Re: How to use SecurityAction.RequestMinimum for UnmanagedCode
... Code in these zones can't call unmanaged code, ... the permission for unmanaged code before making the call. ... security operations that you should not consider lightly, ... I have used a one touch install that gives assemblies ... (microsoft.public.dotnet.security) - Re: Trying to create a GIF with a transparent background
... Answer those GDI+ questions with the GDI+ FAQ ... > Preferably one that didn't use any unmanaged code too. ... >> Bob Powell ... (microsoft.public.dotnet.framework.drawing) - Re: Accessing com classes from c#
... application, or are you running it from the web, or a network share? ... administration tool and change the ... identifier) so that you have unmanaged code permission. ... (microsoft.public.dotnet.languages.csharp) - Re: Garbage collection question
... Any managed class that uses unmanaged code should implement the dispose pattern correctly. ... For example when using GDI via interop you will still need to obey the rules of graphics resource handle use and destruction. ... Find great Windows Forms articles in Windows Forms Tips and Tricks ... (microsoft.public.dotnet.languages.csharp) |
|