Bonus Stocks (bharat Forge)

Currently Bharat Forge is going to give a bonus of 1:1 for which the ex-date is 28-Sep-2017.

If I buy the shares of Bharat Forge on 27-Sep-2017 and they will be delivered to my Demat on T+2 days.

So, will I still get the bonus shares as I bought shares before the ex-date even though they are not yet delivered to my demat?