Get all strings from resourcemanager

后端 未结 1 798
长情又很酷
长情又很酷 2021-02-19 05:42

I need to write a program, that reads all string resources from dll and insert them into some table. I have the method, that reads resources:

    private static          


        
1条回答
  •  礼貌的吻别
    2021-02-19 06:11

    There is no way of doing that. Have a look to the resource section of you assembly through Reflector, for instance. Your text file is saved as String. There is no difference between String value and Text File value.

    Binary files, however, won't be a problem, as for binary file types you'll have byte[] as value and not string.

    0 讨论(0)
提交回复
热议问题