End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Win32::Resolv.get_hosts_dir
get_hosts_dir
ext/win32/lib/win32/resolv.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/ext/win32/lib/win32/resolv.rb, line 69
def get_hosts_dir
Registry::HKEY_LOCAL_MACHINE.open(TCPIP_NT) do |reg|
reg.read_s_expand('DataBasePath')
end
end
No documentation available