Skip to content

Commit 60b601b

Browse files
Update README.md (#152)
1 parent c962135 commit 60b601b

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,11 @@ You will need the publish and subscribe keys to authenticate your app. Get your
2121
```csharp
2222
using PubnubApi;
2323

24-
PNConfiguration pnConfiguration = new PNConfiguration();
25-
pnConfiguration.SubscribeKey = "mySubscribeKey";
26-
pnConfiguration.PublishKey = "myPublishKey";
27-
pnConfiguration.Uuid = "myUniqueUUID";
28-
29-
Pubnub pubnub = new Pubnub(pnConfiguration);
24+
25+
PNConfiguration pnConfiguration = new PNConfiguration(new UserId("myUniqueUserId"));
26+
pnConfiguration.SubscribeKey = "mySubscribeKey";
27+
pnConfiguration.PublishKey = "myPublishKey";
28+
Pubnub pubnub = new Pubnub(pnConfiguration);
3029
```
3130

3231
This is the minimum configuration you need to send and receive messages with PubNub.

0 commit comments

Comments
 (0)