The IWriteCookie::put_Domain method sets the Domain attribute of the write-only Cookies collection to the specified value.
HRESULT put_Domain(
BSTR bstrDomain // contains the new domain value
);
You can use this method to specify particular domains for a cookie. This method applies only to the Response.Cookies collection.