Sha256: de857e71b73aaa0a3eca7d367dd7485569a1dd8a02dfe8231c816b52f36280b3

Contents?: true

Size: 620 Bytes

Versions: 1

Compression:

Stored size: 620 Bytes

Contents

class BindingInformation < IisObject

	#prop :protocol
	prop :binding_information, :bindingInformation
	prop :ds_mapper_enabled?, :isDsMapperEnabled

	def add_ssl_certificate thumprint, store
		invoke_method("AddSslCertificate") do |method|
			method.Input.Properties.Item("certificateHash").Value = thumprint
			method.Input.Properties.Item("certificateStoreName").Value = store
		end
	end

	def remove_ssl_certificate
		invoke_method("RemoveSslCertificate")
	end

	def enable_ds_mapper
		invoke_method("EnableDsMapper")
	end

	def disable_ds_mapper
		invoke_method("DisableDsMapper")
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
inetmgr-0.3.0-mswin32 lib/inetmgr/iis_object/binding_information.rb