|
by: geek_in_a_box |
last post by:
I seem to be experiencing a behavior on Framework 1.0 sp2 RegistryKey
class where the class is not releasing/closing named pipe winreg
handles to remote machines. The process continues to hold on to a
handle to the following pipe:
\Device\LanmanRedirector\<MACHINE>\PIPE\winreg
Even after explicitly calling Close() (which, according to the docs,
should not matter for a base key), and expliticly doing garbage
collections, I cannot seem...
|
by: =JT= |
last post by:
I would like to get the HKEY(a handle to the registry key) from the
RegistryKey class in C#, but it does not seem to be exposed. is it
possible?
|
by: R Agam |
last post by:
Hi
How can I tell what type of value (string, int, ...) is returned from a call
to RegistryKey.GetValue?
Thanks,
Ronen
|
by: Frank Jones |
last post by:
When I call RegistryKey.GetValue for a remote system, it returns a value
that has been automatically expanded for me using the environment of the
machine that is running the .Net application (as opposed to the environment
for the system I am retrieving the key from). This is easily reproduced
with a small sample. Is this a known bug?
It should either it expanded based on the remote environment, or not expand
at all.
Joe
|
by: Bruce |
last post by:
Is there any way to determine a registry key's type (DWORD, string, multi-string, etc.) when using the
RegistryKey class to read keys?
Bruce
|
|
by: Bob |
last post by:
I'm working on a Windows app that needs to write to the Registry HKLM. I
keep getting a "System.UnauthorizedAccessException: Cannot write to the
registry key." error when running the app. I'm logged in as an
Administrator and it's a Windows app. What permission does it need? Here's
the code.
private void ChangeReg() {
string regPath =
"SOFTWARE\\Microsoft\\.NETFramework\\AssemblyFolders";
RegistryKey thisKey = Registry.LocalMachine;
|
by: csharp_helpwanted |
last post by:
steps..
first, I'm creating a connection by mapping a network drive to the pc
second, the map drive connection was successful I try to read a certian
registry key/value (that is a valid reg item)
third, I disconnect the network drive connection
it works great the first time
but if i run it again on the same pc anytime after that I get the following
|
by: g82martin |
last post by:
I am using the RegistryKey class to access the registry on remote
machines. I only require read access. I am able to successfully read
registry keys under HKLM\Software\Microsoft\Windows
NT\CurrentVersion\HotFix but I get a permissions error when I try to
access HKLM\Software\Network Associates\TVD\Shared Components\VirusScan
Engine\4.0.xx. The security permissions are identical on these two
keys. Here is my code:
RegistryKey...
|
by: Steve Bottoms |
last post by:
Hi, all... Trying to determine how to check the state of OpenSubKey when
called. What is the return value if the requested subkey doesn't exist?? I
try a GetType on the result but only get a bizarre error, so I'm uncertain
what should be returned on both success or failure!
Thanks!
Jack
|
by: marcussilfver |
last post by:
How can I set write permissions for a limited user to write values to
a certain registrykey. This registrykey is also written to by a
administrator (which probably also created the key in the first
place).
I have looked at the RegistryPermission class but would really like to
see a code sample on this.
How can it be done, simplest way possible?
thanx
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|