__file__ and __line__
From: Marco van Nieuwenhoven (MarcovanNieuwenhoven_at_discussions.microsoft.com)
Date: 03/29/05
- Previous message: Carsten Kinder [MSFT]: "Re: Monitoring Ports"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 29 Mar 2005 01:09:02 -0800
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.
- Previous message: Carsten Kinder [MSFT]: "Re: Monitoring Ports"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|