__file__ and __line__

From: Marco van Nieuwenhoven (MarcovanNieuwenhoven_at_discussions.microsoft.com)
Date: 03/29/05

  • Next message: Daniel Soriano: "CAPICOM HashedData, java and binary files"
    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.


  • Next message: Daniel Soriano: "CAPICOM HashedData, java and binary files"

    Relevant Pages