Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

marcossl

@marcossl
About
Posts
7
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • accesing a cookie from two different web applications
    M marcossl

    this way: HttpCookie simpleCookie = new HttpCookie( "testCookie" ); simpleCookie.Domain = "localhost"; simpleCookie.Path = "/";

    ASP.NET question

  • accesing a cookie from two different web applications
    M marcossl

    first of all , thanks guffa. In fact, i set the domain "localhost" in the cookie but it seems not to work

    ASP.NET question

  • accesing a cookie from two different web applications
    M marcossl

    hey, i wrote some code in Application1 that encrypts a string and saves it in a cookie, and i want to retrieve that string from the cookie i saved from Application 2. My question is: how can i access the same cookie from two different web applications? Thanks

    ASP.NET question

  • Best name for "bug"?
    M marcossl

    What's a bug? a dont know what it is. a joke! What about this: "easter egg"

    The Lounge help question

  • Deserialization problem
    M marcossl

    The problem seems to be finding that file, not the object serialization. Have you written the right location of the file? have you used "\\" (double slash) in the string instead of simply "\", that's a very common error

    C# help json question

  • Getting crazy with Deny()
    M marcossl

    I WANT make it clear that i dont want the highlighted code to run but it does, can make someone tell me why? the permissions (intersecting all policy levels) for the assembly are unrestricted access to reflection. I checked it myself. I'm sure there is no mistake in the policy configurations using System; using System.Reflection; using System.Security; using System.Security.Permissions; [assembly:ReflectionPermissionAttribute(SecurityAction.RequestRefuse,Unrestricted=true, Flags = ReflectionPermissionFlag.AllFlags)] namespace reflectsecuritytest { public class mo { public static void met( int i ) { } public static void met( float f ) { } public static void met( string s ) { } public static int met( decimal d ) { return 1; } public static void met( object o ) { } public int i = 9; public static int x = 2; private int pr { get { return 2; } } } [ ReflectionPermissionAttribute( SecurityAction.Deny, Flags = ReflectionPermissionFlag.AllFlags, Unrestricted = true ) ] class Class1 { public static void PermisosReflect() { ReflectionPermission sec = new ReflectionPermission( ReflectionPermissionFlag.AllFlags ); try { sec.Deny(); //************************* //************************* // ********************************* // the next code is supposed not to execute, but it does //************************* //************************* //************************* Type t = typeof( mo ); BindingFlags bf = BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static; foreach( MemberInfo mi in t.GetMembers( bf ) ) { Console.WriteLine( mi ); }; } catch( SecurityException e ){ Console.WriteLine( e ); } } public static void Deny() { Console.WriteLine("before calling"); ReflectionPermission sec = new ReflectionPermission( ReflectionPermissionFlag.AllFlags ); sec.Deny(); PermisosReflect();

    C# security question

  • email class
    M marcossl

    HI, i've been exploring the net framework classes for a while and i didn't find a email class to send mails (pop3) . I'm missing or .NET does not owns a class like that? i think, Python brigs one in its class library, the NET framework, very much bigger, should do too Thanks in Advance Marcos

    .NET (Core and Framework) csharp python question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups