__file__ and __line__
From: Marco van Nieuwenhoven (Mvnieuw_at_community.nospam)
Date: 05/03/05
- Next message: Marco van Nieuwenhoven: "Block Safe mode boot"
- Previous message: Marco van Nieuwenhoven: "WlxGetConsoleSwitchCredentials, ReconnectNotify, DisconnectNotify"
- Next in thread: Rhett Gong [MSFT]: "RE: __file__ and __line__"
- Reply: Rhett Gong [MSFT]: "RE: __file__ and __line__"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 3 May 2005 00:36:29 -0700
Hi all,
I have a question how to replace the 'oldfashioned' __file__ and __line__ in
C#. I have looked at StackTrace.GetFileName and GetFileLineNumbet but then I
need to deliver the .pdb files with the assemblies. I dont want to expose any
debuginfo to the customer for security reasons. Anyone?
Why did I place this in the security theead? Because the background not to
use StackTrace is for security reasons.
Best regards,
Marco van Nieuwenhoven.
- Next message: Marco van Nieuwenhoven: "Block Safe mode boot"
- Previous message: Marco van Nieuwenhoven: "WlxGetConsoleSwitchCredentials, ReconnectNotify, DisconnectNotify"
- Next in thread: Rhett Gong [MSFT]: "RE: __file__ and __line__"
- Reply: Rhett Gong [MSFT]: "RE: __file__ and __line__"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|