How do you convert multistring to/from C# string collection?

前端 未结 3 1346
隐瞒了意图╮
隐瞒了意图╮ 2021-01-13 06:23

Multistrings (double null-terminated string of null-separated strings) are common in the Windows API. What\'s a good method for converting a multistring returned from an API

3条回答
  •  萌比男神i
    2021-01-13 06:55

    In the MSDN documentation for RegistryKey.SetValue() and RegistryKey.GetValue(), the examples simply pass in, or cast to, string[], respectively. Is there something wrong with that?

提交回复
热议问题