Lalit Bhatt

Lalit Bhatt

  • 1.1k
  • 262
  • 4k

modify dll file in asp.net without source code

Jan 14 2021 7:24 AM
I have dll file in my project without source code of dll file now I want some changes that file how I change it..
 
Please help me.
 
this is the code of dll I want change date in this code
  1. namespace ESPLHelper  
  2. {  
  3.     using System;  
  4.     public sealed class Config  
  5.     {  
  6.         private const string version = "EH.L.01";  
  7.         private const string ServerDetails = "Endeavour";  
  8.         private const string ExpireDate = "2020-12-31";  
  9.         public const char ColumnSeparator = '~';  
  10.         public const char RowSeparator = '`';  
  11.         public const char TableSeparator = '^';  
  12.         private Config()  
  13.         {  
  14.         }  
  15.         public static bool Authentication()  
  16.         {  
  17.             try  
  18.             {  
  19.                 return (Convert.ToDateTime("2020-12-31") >=DateTime.Today.Date);  
  20.             }  
  21.             catch  
  22.             {  
  23.                 return true;  
  24.             }  
  25.         }  
  26.     }  
  27. }  

Answers (1)