views:

34

answers:

2

Can I change the following code and safely obfuscate it ?

or that I must exclude it from obfuscating (e.g. stackoverflow 2555355 obfuscating-asp-net-dll / 2555497#2555497 )

Dim fontNames As New ArrayList
. . .

Me.myCtrlCmbFontName.DataSource = fontNames
Me.myCtrlCmbFontName.DisplayMember = "mcpGetName"  ' <- Here I get a warning

Public ReadOnly Property mcpGetName() As String    ' <- because of this
  Get
    Return "xxx"
  End Get
End Property
A: 

You may have luck if the string value is of a different text case... try:

Me.myCtrlCmbFontName.DisplayMember = "mcpgetname"
Can you please explain how using lowercase helps obfuscation?
Atara
A: 

also asked in codeproject 3573871 String-obfuscation-and-function-names

Answer: I need to exclude it from obfuscation.

Atara