2017-10-11 17:27:00 +01:00
|
|
|
using ReactNative.Bridge;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using Windows.ApplicationModel.Core;
|
|
|
|
|
using Windows.UI.Core;
|
|
|
|
|
|
2017-10-11 19:33:26 +01:00
|
|
|
namespace Net.Rhogan.RNSecureRandom
|
2017-10-11 17:27:00 +01:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// A module that allows JS to share data.
|
|
|
|
|
/// </summary>
|
2017-10-11 19:33:26 +01:00
|
|
|
class RNSecureRandomModule : NativeModuleBase
|
2017-10-11 17:27:00 +01:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
2017-10-11 19:33:26 +01:00
|
|
|
/// Instantiates the <see cref="RNSecureRandomModule"/>.
|
2017-10-11 17:27:00 +01:00
|
|
|
/// </summary>
|
2017-10-11 19:33:26 +01:00
|
|
|
internal RNSecureRandomModule()
|
2017-10-11 17:27:00 +01:00
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The name of the native module.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public override string Name
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
2017-10-11 19:33:26 +01:00
|
|
|
return "RNSecureRandom";
|
2017-10-11 17:27:00 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|