SecurityPermission – PB Docs 150


SecurityPermission

Execution permission is required for a SecurityPermission setting on
all .NET applications and for any managed code that you want a user to
run.

This table shows the required SecurityPermission settings for functions and objects in Windows Forms targets.

SecurityPermission required in Windows Forms targets
Function, object, property, or feature Permission required
OLEControl Unrestricted (or the Full Trust option)
ChangeDirectory, Handle, Post, Restart, Run, Send UnmanagedCode
URL (PictureHyperlink and StaticHyperlink property), UnmanagedCode
HyperlinkToURL (Inet property) UnmanagedCode
Language interoperation feature Variable permissions required, depending on .NET function called or property accessed
Win32 API feature

UnmanagedCode

Example 1

This example sets required security permissions for Windows Forms targets:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x