[Mono-dev] Can we run .Net applications that modifies windows registry by using mono on linux ?

Jaco Adriaansen jaco at raptorious.com
Thu Mar 21 13:40:45 UTC 2013


>From the Mono Faq:

*What about writing to the registry? As I understand it, Linux does not
have a counterpart to the registry. Should I avoid relying on that feature?*

Try to avoid it. Although there would be a emulation for registry in Mono
too. GNOME does have a registry like mechanism for configuration. But Even
if gnome has a configuration system similar to the registry, the keys will
not be equal, so you will probably end up having to do some runtime
detection, and depending on this load an assembly that has your
platform-specific hacks.

http://www.mono-project.com/FAQ:_Technical


On Thu, Mar 21, 2013 at 2:19 PM, sagar bhingare <sabh21 at gmail.com> wrote:

> Thanks Jaco for Answer.
>  I was trying to use 1 windows service using mono on linux. When service
> runs on windows platform it stores its configuration values in 1 registry
> key. I thought ,is it possible that mono will replace all Registry related
> methods to equivalent of registry in linux. I know there is Registry as
> such  in linux,but somewhere linux will be storing its s/w related
> configurations.
>
> Thanks and Regards,
> Sagar
>
>
>
>
> On Thu, Mar 21, 2013 at 6:39 PM, Jaco Adriaansen <jaco at raptorious.com>wrote:
>
>> What are you trying to achieve? Because simply put; SUSE Linux doesn't
>> have the window registry, so you can' t manipulate it.
>>
>>
>> On Wed, Mar 13, 2013 at 11:02 AM, sagar <sabh21 at gmail.com> wrote:
>>
>>>  Can we run .Net applications that modifies windows registry by using
>>> mono
>>> from SUSE Linux ?
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://mono.1490590.n4.nabble.com/Can-we-run-Net-applications-that-modifies-windows-registry-by-using-mono-on-linux-tp4659002.html
>>> Sent from the Mono - Dev mailing list archive at Nabble.com.
>>> _______________________________________________
>>> Mono-devel-list mailing list
>>> Mono-devel-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>>
>>
>>
>>
>> --
>> Met vriendelijke groet,
>> Jaco Adriaansen
>>
>> http://www.raptorious.com/
>>
>
>


-- 
Met vriendelijke groet,
Jaco Adriaansen

http://www.raptorious.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20130321/c54fea72/attachment.html>


More information about the Mono-devel-list mailing list