You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ba95b29
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+42Lines changed: 42 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,48 @@ Our library is a complete implementation of the EPP specification. Have a look a
20
20
PM> Install-Package EppLib
21
21
```
22
22
23
+
# Transfers
24
+
25
+
`DomainTransfer` and `ContactTransfer` support every transfer operation in RFC 5731 and RFC 5733: `Request` (the default), `Query`, `Approve`, `Reject` and `Cancel`. Put the object's authorization code in `Password`.
26
+
27
+
Request a domain transfer, adding a year to the registration:
28
+
29
+
```csharp
30
+
varrequest=newDomainTransfer("example.com")
31
+
{
32
+
Period=newDomainPeriod(1, "y"),
33
+
Password="2fooBAR"
34
+
};
35
+
varresponse=service.Execute(request);
36
+
37
+
vartransfer=response.DomainTransferResult;
38
+
// transfer.TransferStatus is "pending" until the losing registrar or the registry acts.
39
+
```
40
+
41
+
Check on it later, or approve, reject or cancel it, with the same command and a different operation:
When the authorization code belongs to one of the domain's contacts rather than the domain itself, set `AuthInfoRoid` to that contact's repository ID (the `roid` attribute on `pw`).
Registries that need extra data use their own subclass, such as `CiraDomainTransfer` for .ca, which accepts the same `Operation`, `Period` and `Password`.
64
+
23
65
# Upgrading
24
66
25
67
Releases 1.4.1 to 1.7.0 change behavior you may depend on. Newest first:
0 commit comments